mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 04:09:33 +02:00
* String -> ShortString
This commit is contained in:
parent
e98ef65b6f
commit
3085eac501
@ -445,7 +445,7 @@ end;
|
||||
|
||||
operator :=(const source : variant) dest : AnsiChar;{$ifdef SYSTEMINLINE}inline;{$endif}
|
||||
Var
|
||||
S : String;
|
||||
S : ShortString;
|
||||
begin
|
||||
VariantManager.VarToPStr(S,Source);
|
||||
If Length(S)>0 then
|
||||
@ -797,7 +797,7 @@ operator :=(const source : olevariant) dest : longbool;{$ifdef SYSTEMINLINE}inli
|
||||
{ Chars }
|
||||
operator :=(const source : olevariant) dest : AnsiChar;{$ifdef SYSTEMINLINE}inline;{$endif}
|
||||
var
|
||||
S : String;
|
||||
S : ShortString;
|
||||
begin
|
||||
VariantManager.VarToPStr(S,Source);
|
||||
If Length(S)>0 then
|
||||
|
Loading…
Reference in New Issue
Block a user