|
@@ -614,7 +614,7 @@ begin
|
|
|
repeat
|
|
|
TD:=GetTypeData(TypeInfo);
|
|
|
// published properties count for this object
|
|
|
- TP:=aligntoptr(PPropInfo(aligntoptr((@TD^.UnitName+Length(TD^.UnitName)+1))));
|
|
|
+ TP:=aligntoptr(PPropInfo(aligntoptr((Pointer(@TD^.UnitName)+Length(TD^.UnitName)+1))));
|
|
|
Count:=PWord(TP)^;
|
|
|
// Now point TP to first propinfo record.
|
|
|
Inc(Pointer(TP),SizeOF(Word));
|