IDE: clean up

git-svn-id: trunk@48031 -
This commit is contained in:
mattias 2015-02-27 22:36:47 +00:00
parent 5887e30e3e
commit 9ca082f572
2 changed files with 4 additions and 4 deletions

View File

@ -1435,7 +1435,7 @@ begin
on E: Exception do begin on E: Exception do begin
s:=Format(lisCFEErrorDestroyingMediatorOfUnit, s:=Format(lisCFEErrorDestroyingMediatorOfUnit,
[Mediator.ClassName, AUnitName, LineEnding, E.Message]); [Mediator.ClassName, AUnitName, LineEnding, E.Message]);
DebugLn(['TCustomFormEditor.CreateComponent ',UTF8ToConsole(s)]); DebugLn(['TCustomFormEditor.CreateComponent ',s]);
DumpExceptionBackTrace; DumpExceptionBackTrace;
IDEMessageDialog(lisCFEErrorDestroyingMediator, s, mtError, [mbCancel]); IDEMessageDialog(lisCFEErrorDestroyingMediator, s, mtError, [mbCancel]);
end; end;
@ -1450,7 +1450,7 @@ begin
on E: Exception do begin on E: Exception do begin
s:=Format(lisCFEErrorDestroyingComponentOfTypeOfUnit, s:=Format(lisCFEErrorDestroyingComponentOfTypeOfUnit,
[TypeClass.ClassName, AUnitName, LineEnding, E.Message]); [TypeClass.ClassName, AUnitName, LineEnding, E.Message]);
DebugLn(['TCustomFormEditor.CreateComponent ',UTF8ToConsole(s)]); DebugLn(['TCustomFormEditor.CreateComponent ',s]);
DumpExceptionBackTrace; DumpExceptionBackTrace;
IDEMessageDialog(lisCFEErrorDestroyingComponent, s, mtError, [mbCancel]); IDEMessageDialog(lisCFEErrorDestroyingComponent, s, mtError, [mbCancel]);
end; end;

View File

@ -1124,8 +1124,8 @@ begin
EnableRemoteControl, ShowSplashScreen, ShowSetupDialog); EnableRemoteControl, ShowSplashScreen, ShowSetupDialog);
DebugLn('TMainIDE.ParseCmdLineOptions:'); DebugLn('TMainIDE.ParseCmdLineOptions:');
Debugln(' PrimaryConfigPath="',UTF8ToConsole(GetPrimaryConfigPath),'"'); Debugln(' PrimaryConfigPath="',GetPrimaryConfigPath,'"');
Debugln(' SecondaryConfigPath="',UTF8ToConsole(GetSecondaryConfigPath),'"'); Debugln(' SecondaryConfigPath="',GetSecondaryConfigPath,'"');
end; end;
procedure TMainIDE.LoadGlobalOptions; procedure TMainIDE.LoadGlobalOptions;