diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-22 21:20:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-23 03:38:49 +0000 |
commit | 0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch) | |
tree | 5024cba9f9ea5e3b23ea26025323f6aef39488d0 /sfx2/source/control/statcach.cxx | |
parent | b81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff) |
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
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 | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sfx2/source/control/statcach.cxx b/sfx2/source/control/statcach.cxx index 1c3644205abb..bd78e889c158 100644 --- a/sfx2/source/control/statcach.cxx +++ b/sfx2/source/control/statcach.cxx @@ -58,7 +58,7 @@ 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 ) @@ -184,7 +184,7 @@ void BindDispatch_Impl::Dispatch( uno::Sequence < beans::PropertyValue > aProps, } } -//-------------------------------------------------------------------- + // This constructor for an invalid cache that is updated in the first request. SfxStateCache::SfxStateCache( sal_uInt16 nFuncId ): @@ -202,7 +202,7 @@ SfxStateCache::SfxStateCache( sal_uInt16 nFuncId ): bItemDirty = sal_True; } -//-------------------------------------------------------------------- + // The Destructor checks by assertion, even if controllers are registered. SfxStateCache::~SfxStateCache() @@ -218,7 +218,7 @@ SfxStateCache::~SfxStateCache() } } -//-------------------------------------------------------------------- + // invalidates the cache (next request will force update) void SfxStateCache::Invalidate( sal_Bool bWithMsg ) { @@ -235,7 +235,7 @@ void SfxStateCache::Invalidate( sal_Bool bWithMsg ) } } -//-------------------------------------------------------------------- + // gets the corresponding function from the dispatcher or the cache const SfxSlotServer* SfxStateCache::GetSlotServer( SfxDispatcher &rDispat , const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider > & xProv ) @@ -329,7 +329,7 @@ const SfxSlotServer* SfxStateCache::GetSlotServer( SfxDispatcher &rDispat , cons } -//-------------------------------------------------------------------- + // Set Status in all Controllers @@ -351,7 +351,7 @@ void SfxStateCache::SetState SetState_Impl( eState, pState, bMaybeDirty ); } -//-------------------------------------------------------------------- + void SfxStateCache::SetVisibleState( sal_Bool bShow ) { @@ -397,7 +397,7 @@ void SfxStateCache::SetVisibleState( sal_Bool bShow ) } } -//-------------------------------------------------------------------- + void SfxStateCache::SetState_Impl ( @@ -462,7 +462,7 @@ void SfxStateCache::SetState_Impl } -//-------------------------------------------------------------------- + // Set old status again in all the controllers void SfxStateCache::SetCachedState( sal_Bool bAlways ) @@ -496,7 +496,7 @@ void SfxStateCache::SetCachedState( sal_Bool bAlways ) } -//-------------------------------------------------------------------- + // Destroy FloatingWindows in all Controls with this Id void SfxStateCache::DeleteFloatingWindows() |