ipro: fixed compilation 2.7.1

git-svn-id: trunk@38070 -
This commit is contained in:
mattias 2012-07-28 09:09:09 +00:00
parent f49976f285
commit 4cc2c0501d

View File

@ -16859,7 +16859,7 @@ begin
Dec(FUseCount);
if UseCount = 0 then begin
for i := Pred(FOwner.PropBCache.Count) downto 0 do
if FOwner.PropBCache[i] = Self then begin
if TObject(FOwner.PropBCache[i]) = Self then begin
FOwner.PropBCache.Delete(i);
Free;
Exit;