IDE: fixed compilation on fpc 2.6.4

git-svn-id: trunk@53065 -
This commit is contained in:
mattias 2016-10-02 19:03:08 +00:00
parent 641d73f10a
commit 81e059a3aa

View File

@ -76,7 +76,6 @@ constructor TMultiPasteDialog.Create(AOwner: TComponent);
begin
inherited Create(AOwner);
FContent := TStringList.Create;
FContent.SkipLastLineBreak := True;
OnShow := @DoWatch;
OnActivate := @DoWatch;
TxtBeforeLinesEdit.OnChange := @DoWatch;
@ -89,7 +88,7 @@ end;
destructor TMultiPasteDialog.Destroy;
begin
FContent.Free;
FreeAndNil(FContent);
inherited Destroy;
end;