mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 11:48:34 +02:00
* fixed range error introduced in r13213
git-svn-id: trunk@13328 -
This commit is contained in:
parent
fc5e5d9258
commit
9c280eae26
@ -3770,7 +3770,9 @@ end;
|
||||
function TCustomVariantType.VarDataIsStr(const V: TVarData): Boolean;
|
||||
|
||||
begin
|
||||
Result:=(V.vType and varTypeMask) in [varOleStr,varString];
|
||||
Result:=
|
||||
((V.vType and varTypeMask) = varOleStr) or
|
||||
((V.vType and varTypeMask) = varString);
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user