diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-18 13:11:40 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-18 13:29:16 +0100 |
commit | 03bee712e7ab1761854da3398b1a34f7ac81624e (patch) | |
tree | 155c57c004759d4e2c7529c7b099e44a1029f58d | |
parent | 075fbcee09f1c14b8dbed8e3a0c54ae26a47e102 (diff) |
Use cppu::BaseMutex instead of plain osl::Mutex as base
Change-Id: I6c3baa4fffaeab01833d49530c27a094429e9b5f
-rw-r--r-- | framework/source/services/taskcreatorsrv.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/source/services/taskcreatorsrv.cxx b/framework/source/services/taskcreatorsrv.cxx index df7d06135995..90299fc50c39 100644 --- a/framework/source/services/taskcreatorsrv.cxx +++ b/framework/source/services/taskcreatorsrv.cxx @@ -35,6 +35,7 @@ #include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <comphelper/sequenceashashmap.hxx> +#include <cppuhelper/basemutex.hxx> #include <cppuhelper/compbase2.hxx> #include <cppuhelper/supportsservice.hxx> #include <svtools/colorcfg.hxx> @@ -50,7 +51,7 @@ typedef ::cppu::WeakComponentImplHelper2< css::lang::XServiceInfo, css::lang::XSingleServiceFactory> TaskCreatorService_BASE; -class TaskCreatorService : private osl::Mutex, +class TaskCreatorService : private cppu::BaseMutex, public TaskCreatorService_BASE { private: @@ -117,7 +118,7 @@ private: TaskCreatorService::TaskCreatorService(const css::uno::Reference< css::uno::XComponentContext >& xContext) - : TaskCreatorService_BASE(*static_cast<osl::Mutex *>(this)) + : TaskCreatorService_BASE(m_aMutex) , m_xContext (xContext ) { } |