IDE: fixed saving file with syntax error with option remove empty methods

git-svn-id: trunk@18767 -
This commit is contained in:
mattias 2009-02-19 21:59:21 +00:00
parent 1bbc803e83
commit edd4e307c9

View File

@ -7185,7 +7185,7 @@ begin
// the component is not yet implemented.
Result:=RemoveEmptyMethods(ActiveUnitInfo.Source,
ActiveUnitInfo.Component.ClassName,0,0,false,[pcsPublished]);
if Result<>mrOk then exit;
if Result=mrAbort then exit;
end;
// b) do actual save