IDEIntf: using TFPList

git-svn-id: trunk@58011 -
This commit is contained in:
mattias 2018-05-23 13:49:06 +00:00
parent de467a095c
commit 333f3c4a38

View File

@ -2092,8 +2092,8 @@ const
);
var
PropertyEditorMapperList:TList;
PropertyClassList:TList;
PropertyEditorMapperList:TFPList;
PropertyClassList:TFPList;
type
PPropertyClassRec=^TPropertyClassRec;
@ -2272,7 +2272,7 @@ var
begin
if PropertyType=nil then exit;
if PropertyClassList=nil then
PropertyClassList:=TList.Create;
PropertyClassList:=TFPList.Create;
New(P);
P^.PropertyType:=PropertyType;
P^.PersistentClass:=PersistentClass;
@ -2286,7 +2286,7 @@ var
P:PPropertyEditorMapperRec;
begin
if PropertyEditorMapperList=nil then
PropertyEditorMapperList:=TList.Create;
PropertyEditorMapperList:=TFPList.Create;
New(P);
P^.Mapper:=Mapper;
PropertyEditorMapperList.Insert(0,P);