mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 13:59:14 +02:00
IDE: fixed saving file with syntax error with option remove empty methods
git-svn-id: trunk@18767 -
This commit is contained in:
parent
1bbc803e83
commit
edd4e307c9
@ -7185,7 +7185,7 @@ begin
|
|||||||
// the component is not yet implemented.
|
// the component is not yet implemented.
|
||||||
Result:=RemoveEmptyMethods(ActiveUnitInfo.Source,
|
Result:=RemoveEmptyMethods(ActiveUnitInfo.Source,
|
||||||
ActiveUnitInfo.Component.ClassName,0,0,false,[pcsPublished]);
|
ActiveUnitInfo.Component.ClassName,0,0,false,[pcsPublished]);
|
||||||
if Result<>mrOk then exit;
|
if Result=mrAbort then exit;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
// b) do actual save
|
// b) do actual save
|
||||||
|
Loading…
Reference in New Issue
Block a user