mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 17:49:14 +02:00
lcl: Change TList to TFpList (DBCtrls.FieldClasses)
git-svn-id: trunk@32497 -
This commit is contained in:
parent
355083fd19
commit
5429c2b84b
@ -1283,13 +1283,13 @@ procedure Register;
|
||||
implementation
|
||||
|
||||
var
|
||||
FieldClasses: TList;
|
||||
FieldClasses: TFpList;
|
||||
|
||||
procedure RegFields(const AFieldClasses: array of TFieldClass);
|
||||
var I: Integer;
|
||||
FieldClass: TFieldClass;
|
||||
begin
|
||||
if FieldClasses = nil then FieldClasses := TList.Create;
|
||||
if FieldClasses = nil then FieldClasses := TFpList.Create;
|
||||
for I := Low(AFieldClasses) to High(AFieldClasses) do begin
|
||||
FieldClass := AFieldClasses[I];
|
||||
if (FieldClass <> Nil) And (FieldClasses.IndexOf(FieldClass) = -1) then
|
||||
|
Loading…
Reference in New Issue
Block a user