* patch from Vincent to fix TReader.ReadCollection calling clear() logic

git-svn-id: trunk@11348 -
This commit is contained in:
Almindor 2008-07-07 21:21:44 +00:00
parent f07b132292
commit 3195d8bd79

View File

@ -740,7 +740,8 @@ var
Item: TCollectionItem;
begin
Collection.BeginUpdate;
Collection.Clear;
if not EndOfList then
Collection.Clear;
while not EndOfList do begin
ReadListBegin;
Item := Collection.Add;