mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-27 07:30:09 +02:00
IDE: converter: fixed deprecated
git-svn-id: trunk@27361 -
This commit is contained in:
parent
20bd6668d6
commit
ed6f7d9f76
@ -447,7 +447,7 @@ begin
|
||||
if Result=mrOk then begin
|
||||
Result:=SaveCodeBufferToFile(fPascalBuffer,fLazUnitFilename);
|
||||
if Result=mrOk then begin
|
||||
Result:=LazarusIDE.DoOpenEditorFile(fLazUnitFilename,0,
|
||||
Result:=LazarusIDE.DoOpenEditorFile(fLazUnitFilename,0,0,
|
||||
[ofAddToRecent,ofQuiet]);
|
||||
if Result=mrOk then begin
|
||||
Result:=ConvertFormFile;
|
||||
@ -970,7 +970,7 @@ begin
|
||||
if Result<>mrOK then exit;
|
||||
// Load the unit and add it to project. fUnitInfo is set for projects only.
|
||||
if Assigned(fUnitInfo) then //ofAddToRecent,
|
||||
LazarusIDE.DoOpenEditorFile(fLazUnitFilename,0,[ofAddToProject,ofQuiet]);
|
||||
LazarusIDE.DoOpenEditorFile(fLazUnitFilename,0,0,[ofAddToProject,ofQuiet]);
|
||||
// Close unit file after processing.
|
||||
Result:=LazarusIDE.DoCloseEditorFile(fLazUnitFilename,[cfSaveFirst,cfQuiet]);
|
||||
if Result<>mrOK then exit;
|
||||
|
Loading…
Reference in New Issue
Block a user