- Timestamp:
- Feb 8, 2012, 1:05:59 PM (13 years ago)
- Location:
- Generics/TemplateGenerics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Generics/TemplateGenerics/Demo/Demo.lpi
r312 r325 83 83 <TopLine Value="47"/> 84 84 <CursorPos X="20" Y="60"/> 85 <UsageCount Value="1 3"/>85 <UsageCount Value="15"/> 86 86 <Loaded Value="True"/> 87 87 </Unit3> … … 463 463 <TopLine Value="11"/> 464 464 <CursorPos X="34" Y="24"/> 465 <UsageCount Value=" 19"/>465 <UsageCount Value="21"/> 466 466 <Loaded Value="True"/> 467 467 </Unit51> … … 583 583 <Filename Value="../Specialized/SpecializedStream.pas"/> 584 584 <UnitName Value="SpecializedStream"/> 585 <IsVisibleTab Value="True"/>586 585 <EditorIndex Value="8"/> 587 586 <WindowIndex Value="0"/> 588 587 <TopLine Value="106"/> 589 588 <CursorPos X="48" Y="107"/> 590 <UsageCount Value="1 3"/>589 <UsageCount Value="15"/> 591 590 <Loaded Value="True"/> 592 591 </Unit66> … … 623 622 <Unit71> 624 623 <Filename Value="../Generic/GenericStream.inc"/> 624 <IsVisibleTab Value="True"/> 625 625 <EditorIndex Value="7"/> 626 626 <WindowIndex Value="0"/> 627 <TopLine Value=" 1"/>628 <CursorPos X="1 3" Y="12"/>629 <UsageCount Value="1 3"/>627 <TopLine Value="40"/> 628 <CursorPos X="18" Y="20"/> 629 <UsageCount Value="15"/> 630 630 <Loaded Value="True"/> 631 631 </Unit71> … … 636 636 <TopLine Value="891"/> 637 637 <CursorPos X="18" Y="908"/> 638 <UsageCount Value="1 1"/>638 <UsageCount Value="13"/> 639 639 <Loaded Value="True"/> 640 640 </Unit72> … … 645 645 <TopLine Value="739"/> 646 646 <CursorPos X="18" Y="750"/> 647 <UsageCount Value="1 1"/>647 <UsageCount Value="13"/> 648 648 <Loaded Value="True"/> 649 649 </Unit73> … … 654 654 <TopLine Value="8"/> 655 655 <CursorPos X="34" Y="21"/> 656 <UsageCount Value="1 0"/>656 <UsageCount Value="12"/> 657 657 <Loaded Value="True"/> 658 658 </Unit74> -
Generics/TemplateGenerics/Generic/GenericListObject.inc
r312 r325 75 75 procedure TGListObject.Put(Index: TGListIndex; const AValue: TGListItem); 76 76 begin 77 if OwnsObjects then FItems[Index].Free;77 if OwnsObjects and (FItems[Index] <> AValue) then FItems[Index].Free; 78 78 inherited Put(Index, AValue); 79 79 end;
Note:
See TracChangeset
for help on using the changeset viewer.