sfx2: remove another DBG macro that arose from the grave
The callers in dispatch.cxx use methods that were removed by commit
a1ce4fb4f0
- not sure if this warning is
useful or not.
Change-Id: I8bb654de8e26c054318dd2037055a85d013c8bfa
This commit is contained in:
parent
2ddfaf1f03
commit
3108a3dd38
3 changed files with 3 additions and 14 deletions
|
@ -1249,14 +1249,10 @@ IMPL_LINK( SfxDispatcher, PostMsgHandler, SfxRequest*, pReq )
|
|||
const SfxSlot *pSlot = aSvr.GetSlot();
|
||||
SfxShell *pSh = GetShell(aSvr.GetShellLevel());
|
||||
|
||||
DBG( SfxApplication *pSfxApp = SfxGetpApp() );
|
||||
DBG( pSfxApp->EnterAsynchronCall_Impl() );
|
||||
|
||||
// When the pSlot is a "Pseudoslot" for macros or Verbs, it can
|
||||
// be destroyed in the Call_Impl, thus do not use it anymore!
|
||||
pReq->SetSynchronCall( false );
|
||||
Call_Impl( *pSh, *pSlot, *pReq, pReq->AllowsRecording() ); //! why bRecord?
|
||||
DBG( pSfxApp->LeaveAsynchronCall_Impl() );
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
@ -41,15 +41,6 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef DBG
|
||||
#ifdef DBG_UTIL
|
||||
#define DBG(statement) statement
|
||||
#else
|
||||
#define DBG(statement)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if defined(DBG_UTIL)
|
||||
|
||||
|
|
|
@ -84,7 +84,9 @@ void SfxMenuControl::Bind(
|
|||
else
|
||||
SetId( nSlotId );
|
||||
|
||||
DBG( CheckConfigure_Impl(SFX_SLOT_MENUCONFIG) );
|
||||
#ifdef DBG_UTIL
|
||||
CheckConfigure_Impl(SFX_SLOT_MENUCONFIG);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue