|
@@ -245,7 +245,7 @@ type
|
|
|
|
|
|
TLookupList = class(TObject)
|
|
TLookupList = class(TObject)
|
|
private
|
|
private
|
|
- FList: TList;
|
|
|
|
|
|
+ FList: TFPList;
|
|
public
|
|
public
|
|
constructor Create;
|
|
constructor Create;
|
|
destructor Destroy; override;
|
|
destructor Destroy; override;
|
|
@@ -2295,14 +2295,14 @@ end;
|
|
constructor TLookupList.Create;
|
|
constructor TLookupList.Create;
|
|
|
|
|
|
begin
|
|
begin
|
|
- FList := TList.Create;
|
|
|
|
|
|
+ FList := TFPList.Create;
|
|
end;
|
|
end;
|
|
|
|
|
|
destructor TLookupList.Destroy;
|
|
destructor TLookupList.Destroy;
|
|
|
|
|
|
begin
|
|
begin
|
|
- if FList <> nil then Clear;
|
|
|
|
- FList.Free;
|
|
|
|
|
|
+ Clear;
|
|
|
|
+ FList.Destroy;
|
|
inherited Destroy;
|
|
inherited Destroy;
|
|
end;
|
|
end;
|
|
|
|
|