diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-17 18:00:10 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-17 18:00:10 +0100 |
commit | 07b32bc2bf0cd329258b4924839e5b900b7e6196 (patch) | |
tree | 72158346b5677065a032010c44f878ae2f6696df /framework/source/uielement/addonstoolbarmanager.cxx | |
parent | a98d7543ad599092081970c48c0c650c142cf762 (diff) |
Consolidate framework::{Resetable,}Guard
Change-Id: I97290c2504992f4a92e6aeb71e02a2542dd35faa
Diffstat (limited to 'framework/source/uielement/addonstoolbarmanager.cxx')
-rw-r--r-- | framework/source/uielement/addonstoolbarmanager.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/uielement/addonstoolbarmanager.cxx b/framework/source/uielement/addonstoolbarmanager.cxx index 1a95e500ae6b..42b22c6ed9e3 100644 --- a/framework/source/uielement/addonstoolbarmanager.cxx +++ b/framework/source/uielement/addonstoolbarmanager.cxx @@ -21,7 +21,7 @@ #include <uielement/toolbarmerger.hxx> #include <uielement/generictoolbarcontroller.hxx> -#include <threadhelp/resetableguard.hxx> +#include <threadhelp/guard.hxx> #include "services.h" #include <framework/imageproducer.hxx> #include <framework/sfxhelperfunctions.hxx> @@ -145,7 +145,7 @@ void SAL_CALL AddonsToolBarManager::dispose() throw( RuntimeException, std::exce { // Remove addon specific data from toolbar items. - ResetableGuard aGuard( m_aLock ); + Guard aGuard( m_aLock ); for ( sal_uInt16 n = 0; n < m_pToolBar->GetItemCount(); n++ ) { sal_uInt16 nId( m_pToolBar->GetItemId( n ) ); @@ -201,7 +201,7 @@ void AddonsToolBarManager::RefreshImages() void AddonsToolBarManager::FillToolbar( const Sequence< Sequence< PropertyValue > >& rAddonToolbar ) { - ResetableGuard aGuard( m_aLock ); + Guard aGuard( m_aLock ); if ( m_bDisposed ) return; @@ -422,7 +422,7 @@ IMPL_LINK_NOARG(AddonsToolBarManager, DoubleClick) IMPL_LINK_NOARG(AddonsToolBarManager, Command) { - ResetableGuard aGuard( m_aLock ); + Guard aGuard( m_aLock ); if ( m_bDisposed ) return 1; |