diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2014-03-02 16:06:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-03 09:23:34 -0600 |
commit | 7ac4babfd6eabc51262560a5caa846d86f79a6c0 (patch) | |
tree | 4498956c6ed4b6072ec4d18bb876da059372e546 /sfx2/source/control/statcach.cxx | |
parent | 7963d2b0f6fe006c215607eda1c51acf1d7273b5 (diff) |
SFX2 : Remove usage of DBG_CTOR and DBG_DTOR.
Valgrind is capable of detecting such bugs. No need for extra macros.
Change-Id: I35a9403da152ea2b637c0235d776c7789e2ef207
Reviewed-on: https://gerrit.libreoffice.org/8420
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/source/control/statcach.cxx')
-rw-r--r-- | sfx2/source/control/statcach.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sfx2/source/control/statcach.cxx b/sfx2/source/control/statcach.cxx index 10247d78a64c..129e94f7373f 100644 --- a/sfx2/source/control/statcach.cxx +++ b/sfx2/source/control/statcach.cxx @@ -196,7 +196,6 @@ SfxStateCache::SfxStateCache( sal_uInt16 nFuncId ): eLastState( 0 ), bItemVisible( sal_True ) { - DBG_CTOR(SfxStateCache, 0); bCtrlDirty = sal_True; bSlotDirty = sal_True; bItemDirty = sal_True; @@ -207,7 +206,6 @@ SfxStateCache::SfxStateCache( sal_uInt16 nFuncId ): SfxStateCache::~SfxStateCache() { - DBG_DTOR(SfxStateCache, 0); DBG_ASSERT( pController == 0 && pInternalController == 0, "there are still Controllers registered" ); if ( !IsInvalidItem(pLastItem) ) delete pLastItem; @@ -240,7 +238,6 @@ void SfxStateCache::Invalidate( sal_Bool bWithMsg ) const SfxSlotServer* SfxStateCache::GetSlotServer( SfxDispatcher &rDispat , const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider > & xProv ) { - DBG_CHKTHIS(SfxStateCache, 0); if ( bSlotDirty ) { @@ -407,7 +404,6 @@ void SfxStateCache::SetState_Impl ) { (void)bMaybeDirty; //unused - DBG_CHKTHIS(SfxStateCache, 0); // If a hard update occurs between enter- and leave-registrations is a // can also intermediate Cached exist without controller. @@ -467,7 +463,6 @@ void SfxStateCache::SetState_Impl void SfxStateCache::SetCachedState( sal_Bool bAlways ) { - DBG_CHKTHIS(SfxStateCache, 0); DBG_ASSERT(pController==NULL||pController->GetId()==nId, "Cache with wrong ControllerItem" ); DBG_PROFSTART(SfxStateCacheSetState); @@ -501,7 +496,6 @@ void SfxStateCache::SetCachedState( sal_Bool bAlways ) void SfxStateCache::DeleteFloatingWindows() { - DBG_CHKTHIS(SfxStateCache, 0); SfxControllerItem *pNextCtrl=0; for ( SfxControllerItem *pCtrl=pController; pCtrl; pCtrl=pNextCtrl ) |