@@ -2860,6 +2860,8 @@ begin
Result:=FData.FValueData.GetDataSize;
exit;
end;
+ if IsEmpty then
+ exit;
case Kind of
tkEnumeration,
tkBool,