summaryrefslogtreecommitdiff
path: root/framework/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-18 13:06:13 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-18 13:29:15 +0100
commit0de51f55741c0ef3fbd9bcc3359273667a904b88 (patch)
treee15a864d920a82b17d7c1acdd3c9839b85701c5e /framework/source
parent295f7bcdc11d27af85b8b8ace8cefee7bed8cc3a (diff)
Use cppu::BaseMutex instead of plain osl::Mutex as base
Change-Id: I0f17f4140711bad606bb24a662a9be7972f1c470
Diffstat (limited to 'framework/source')
-rw-r--r--framework/source/uielement/uicommanddescription.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/uielement/uicommanddescription.cxx b/framework/source/uielement/uicommanddescription.cxx
index 387dec6db1c2..5d72c5f366c7 100644
--- a/framework/source/uielement/uicommanddescription.cxx
+++ b/framework/source/uielement/uicommanddescription.cxx
@@ -603,7 +603,7 @@ void SAL_CALL ConfigurationAccess_UICommand::disposing( const EventObject& aEven
}
UICommandDescription::UICommandDescription( const Reference< XComponentContext >& rxContext ) :
- UICommandDescription_BASE(*static_cast<osl::Mutex *>(this)),
+ UICommandDescription_BASE(m_aMutex),
m_aPrivateResourceURL( PRIVATE_RESOURCE_URL ),
m_xContext( rxContext )
{
@@ -619,7 +619,7 @@ UICommandDescription::UICommandDescription( const Reference< XComponentContext >
pIter->second = m_xGenericUICommands;
}
UICommandDescription::UICommandDescription(const Reference< XComponentContext >& rxContext, bool)
- : UICommandDescription_BASE(*static_cast<osl::Mutex *>(this))
+ : UICommandDescription_BASE(m_aMutex)
, m_bConfigRead(false)
, m_xContext(rxContext)
{