diff options
-rw-r--r-- | sfx2/source/control/dispatch.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/inc/sfxtypes.hxx | 9 | ||||
-rw-r--r-- | sfx2/source/menu/mnuitem.cxx | 4 |
3 files changed, 3 insertions, 14 deletions
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index f7a83c1649f9..115c627cd6bb 100644 --- a/sfx2/source/control/dispatch.cxx +++ b/sfx2/source/control/dispatch.cxx @@ -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 diff --git a/sfx2/source/inc/sfxtypes.hxx b/sfx2/source/inc/sfxtypes.hxx index 680a454ead1a..3a7974cfcecd 100644 --- a/sfx2/source/inc/sfxtypes.hxx +++ b/sfx2/source/inc/sfxtypes.hxx @@ -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) diff --git a/sfx2/source/menu/mnuitem.cxx b/sfx2/source/menu/mnuitem.cxx index 3ce93a96a785..ebe6439853f9 100644 --- a/sfx2/source/menu/mnuitem.cxx +++ b/sfx2/source/menu/mnuitem.cxx @@ -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 } |