diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-07-24 14:09:53 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-07-24 14:11:40 +0200 |
commit | 3108a3dd38f5e5aac3a46e6f5caf3b2e5ab5b202 (patch) | |
tree | c6a2ea7bc703d0fa723bdf01b7e623c27f9467e3 /sfx2 | |
parent | 2ddfaf1f03135c10d33e0e99ebe8a56d3783d214 (diff) |
sfx2: remove another DBG macro that arose from the grave
The callers in dispatch.cxx use methods that were removed by commit
a1ce4fb4f0dbc3c4141f510e5b2b732a24d862c8 - not sure if this warning is
useful or not.
Change-Id: I8bb654de8e26c054318dd2037055a85d013c8bfa
Diffstat (limited to 'sfx2')
-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 } |