From 5fe8aa2d485104609a63237e2ef6676b36e046e9 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 18 Mar 2014 13:12:45 +0100 Subject: Use cppu::BaseMutex instead of plain osl::Mutex as base Change-Id: I2880172edbabcd41f8847359b1b308658a9e07c8 --- framework/source/uiconfiguration/windowstateconfiguration.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'framework') diff --git a/framework/source/uiconfiguration/windowstateconfiguration.cxx b/framework/source/uiconfiguration/windowstateconfiguration.cxx index bd05474fbc20..4934d79eda54 100644 --- a/framework/source/uiconfiguration/windowstateconfiguration.cxx +++ b/framework/source/uiconfiguration/windowstateconfiguration.cxx @@ -36,6 +36,7 @@ #include #include +#include #include #include #include @@ -1282,7 +1283,7 @@ sal_Bool ConfigurationAccess_WindowState::impl_initializeConfigAccess() typedef ::cppu::WeakComponentImplHelper2< css::container::XNameAccess, css::lang::XServiceInfo> WindowStateConfiguration_BASE; -class WindowStateConfiguration : private osl::Mutex, +class WindowStateConfiguration : private cppu::BaseMutex, public WindowStateConfiguration_BASE { public: @@ -1342,7 +1343,7 @@ private: }; WindowStateConfiguration::WindowStateConfiguration( const Reference< XComponentContext >& rxContext ) : - WindowStateConfiguration_BASE(*static_cast(this)), + WindowStateConfiguration_BASE(m_aMutex), m_xContext( rxContext ) { css::uno::Reference< css::frame::XModuleManager2 > xModuleManager = -- cgit