IDE: fix compile with -d IDE_DEBUG

git-svn-id: trunk@30530 -
This commit is contained in:
martin 2011-05-02 17:36:32 +00:00
parent aaff414d3e
commit 4e9ac4764e

View File

@ -8923,7 +8923,7 @@ var
SrcEdit: TSourceEditor;
begin
{$IFDEF IDE_DEBUG}
debugln('TMainIDE.DoCloseEditorFile A PageIndex=',IntToStr(AnUnitInfo.PageIndex));
//debugln('TMainIDE.DoCloseEditorFile A PageIndex=',IntToStr(AnUnitInfo.PageIndex));
{$ENDIF}
Result:=mrCancel;
if AEditor = nil then exit;
@ -17437,7 +17437,7 @@ begin
OverrideMethodName);
{$IFDEF IDE_DEBUG}
debugln('');
debugln('[TMainIDE.OnPropHookCreateMethod] ************2 ',r,' ',AMethodName);
debugln('[TMainIDE.OnPropHookCreateMethod] ************2 ',dbgs(r),' ',AMethodName);
{$ENDIF}
ApplyCodeToolChanges;
if r then begin