summaryrefslogtreecommitdiff
path: root/framework/source/uielement/statusbarwrapper.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-18 15:00:29 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-18 15:27:08 +0100
commite6e3403f1fce1ad9285a4b41fea8b46cad6cf191 (patch)
treec21a73e14682d2134d199711b727c90aaaad183f /framework/source/uielement/statusbarwrapper.cxx
parent7cc2bb414c0ac42556cc5b11b8dbdad630927d78 (diff)
Use SolarMutexGuard directly
Change-Id: I01c937881031c85a99aacbfbb3463203eb3d0b3e
Diffstat (limited to 'framework/source/uielement/statusbarwrapper.cxx')
-rw-r--r--framework/source/uielement/statusbarwrapper.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/uielement/statusbarwrapper.cxx b/framework/source/uielement/statusbarwrapper.cxx
index 3c1c89f0eb2c..528bed496d8c 100644
--- a/framework/source/uielement/statusbarwrapper.cxx
+++ b/framework/source/uielement/statusbarwrapper.cxx
@@ -71,7 +71,7 @@ void SAL_CALL StatusBarWrapper::dispose() throw (::com::sun::star::uno::RuntimeE
com::sun::star::lang::EventObject aEvent( xThis );
m_aListenerContainer.disposeAndClear( aEvent );
- Guard aLock( m_aLock );
+ SolarMutexGuard g;
if ( !m_bDisposed )
{
if ( m_xStatusBarManager.is() )
@@ -90,7 +90,7 @@ void SAL_CALL StatusBarWrapper::dispose() throw (::com::sun::star::uno::RuntimeE
// XInitialization
void SAL_CALL StatusBarWrapper::initialize( const Sequence< Any >& aArguments ) throw ( Exception, RuntimeException, std::exception )
{
- Guard aLock( m_aLock );
+ SolarMutexGuard g;
if ( m_bDisposed )
throw DisposedException();
@@ -139,7 +139,7 @@ void SAL_CALL StatusBarWrapper::initialize( const Sequence< Any >& aArguments )
// XUIElementSettings
void SAL_CALL StatusBarWrapper::updateSettings() throw ( RuntimeException, std::exception )
{
- Guard aLock( m_aLock );
+ SolarMutexGuard g;
if ( m_bDisposed )
throw DisposedException();
@@ -164,7 +164,7 @@ void SAL_CALL StatusBarWrapper::updateSettings() throw ( RuntimeException, std::
Reference< XInterface > SAL_CALL StatusBarWrapper::getRealInterface() throw ( RuntimeException, std::exception )
{
- Guard aLock( m_aLock );
+ SolarMutexGuard g;
if ( m_xStatusBarManager.is() )
{