File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
PythonForDelphi/Components/Sources/Core Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3175,7 +3175,7 @@ procedure MaskFPUExceptions(ExceptionsMasked : boolean;
3175
3175
Converts line breaks to LF and optionally adds a line break at the end
3176
3176
*)
3177
3177
function CleanString (const s : AnsiString; AppendLF : Boolean = True) : AnsiString; overload;
3178
- function CleanString (const s : string ; AppendLF : Boolean = True) : string ; overload;
3178
+ function CleanString (const s : UnicodeString ; AppendLF : Boolean = True) : UnicodeString ; overload;
3179
3179
3180
3180
// #######################################################
3181
3181
// ## ##
@@ -9860,7 +9860,7 @@ function CleanString(const s : AnsiString; AppendLF : Boolean) : AnsiString;
9860
9860
Result := Result + LF;
9861
9861
end ;
9862
9862
9863
- function CleanString (const s : string ; AppendLF : Boolean) : string ;
9863
+ function CleanString (const s : UnicodeString ; AppendLF : Boolean) : UnicodeString ;
9864
9864
begin
9865
9865
Result := AdjustLineBreaks(s, tlbsLF);
9866
9866
if AppendLF and (result[length(result)] <> LF) then
You can’t perform that action at this time.
0 commit comments