LazMapViewer: Remove duplicate code from TMvDrawPlugin.Destroy
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9582 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
8df360f422
commit
0afda6d375
@ -550,15 +550,7 @@ begin
|
||||
end;
|
||||
|
||||
destructor TMvDrawPlugin.Destroy;
|
||||
var
|
||||
idx: Integer;
|
||||
begin
|
||||
if Assigned(FPluginManager) then
|
||||
begin
|
||||
idx := FPluginManager.PluginList.IndexOf(Self);
|
||||
if idx > -1 then
|
||||
FPluginManager.PluginList.Delete(idx);
|
||||
end;
|
||||
FFont.Free;
|
||||
FPen.Free;
|
||||
inherited Destroy;
|
||||
|
Loading…
Reference in New Issue
Block a user