mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-31 04:50:17 +02:00
Fix bug report 27428
git-svn-id: trunk@29656 -
This commit is contained in:
parent
7c1cf07484
commit
048ad78079
@ -2264,7 +2264,9 @@ begin
|
||||
RefAnyProc(Dest);
|
||||
end else if vType and varArray <> 0 then
|
||||
DoVarCopyArray(Dest, Source, @DoVarCopy)
|
||||
else if (vType and varByRef <> 0) and ((vType xor varByRef) in [varString,varOleStr]) then
|
||||
else if (vType and varByRef <> 0) and
|
||||
(((vType xor varByRef) = varString)
|
||||
or ((vType xor varByRef)= varOleStr)) then
|
||||
Dest := Source
|
||||
else if FindCustomVariantType(vType, Handler) then
|
||||
Handler.Copy(Dest, Source, False)
|
||||
|
Loading…
Reference in New Issue
Block a user