summaryrefslogtreecommitdiff
path: root/sfx2/source/control/statcach.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-25 18:44:03 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-25 18:49:17 +0100
commit671f7130a34743322d9467a81c9d757333850244 (patch)
treebf4e3d8046273f008cf2a462eea2b76014703f3f /sfx2/source/control/statcach.cxx
parent2ab3bae2cff8a51ba11e68539d75d21f826d9481 (diff)
Remove legacy DBG_PROFSART/STOP calls
...probably better done with callgrind, if still relevant at all. Change-Id: I15069df4e2f271b0c240231f35af2e664a02c296
Diffstat (limited to 'sfx2/source/control/statcach.cxx')
-rw-r--r--sfx2/source/control/statcach.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/sfx2/source/control/statcach.cxx b/sfx2/source/control/statcach.cxx
index 82203b286a29..b7efaed04c36 100644
--- a/sfx2/source/control/statcach.cxx
+++ b/sfx2/source/control/statcach.cxx
@@ -53,12 +53,6 @@ using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::util;
-
-
-DBG_NAME(SfxStateCache)
-DBG_NAME(SfxStateCacheSetState)
-
-
BindDispatch_Impl::BindDispatch_Impl( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > & rDisp, const ::com::sun::star::util::URL& rURL, SfxStateCache *pStateCache, const SfxSlot* pS )
: xDisp( rDisp )
, aURL( rURL )
@@ -412,7 +406,6 @@ void SfxStateCache::SetState_Impl
DBG_ASSERT( bMaybeDirty || !bSlotDirty, "setting state of dirty message" );
DBG_ASSERT( SfxControllerItem::GetItemState(pState) == eState, "invalid SfxItemState" );
- DBG_PROFSTART(SfxStateCacheSetState);
// does the controller have to be notified at all?
bool bNotify = bItemDirty;
@@ -454,7 +447,6 @@ void SfxStateCache::SetState_Impl
}
bCtrlDirty = sal_False;
- DBG_PROFSTOP(SfxStateCacheSetState);
}
@@ -464,7 +456,6 @@ void SfxStateCache::SetState_Impl
void SfxStateCache::SetCachedState( sal_Bool bAlways )
{
DBG_ASSERT(pController==NULL||pController->GetId()==nId, "Cache with wrong ControllerItem" );
- DBG_PROFSTART(SfxStateCacheSetState);
// Only update if cached item exists and also able to process.
// (If the State is sent, it must be ensured that a SlotServer is present,
@@ -486,8 +477,6 @@ void SfxStateCache::SetCachedState( sal_Bool bAlways )
// Controller is now ok
bCtrlDirty = sal_True;
}
-
- DBG_PROFSTOP(SfxStateCacheSetState);
}