diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-20 10:36:12 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-20 10:49:39 +0100 |
commit | 35c495fd78b0d59aef035273e49c174fdc05f407 (patch) | |
tree | c51025d92c29f7a47879420fa6f62757e432f85b /framework/inc | |
parent | 7f0a6e262f550a9eb4a29ef28818388c79778d8e (diff) |
Use an osl::Mutex directly
Change-Id: I4db0fa34e00364e38ae015d079fee551be7319b3
Diffstat (limited to 'framework/inc')
-rw-r--r-- | framework/inc/services/dispatchhelper.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/inc/services/dispatchhelper.hxx b/framework/inc/services/dispatchhelper.hxx index 922848c3af1e..528171364578 100644 --- a/framework/inc/services/dispatchhelper.hxx +++ b/framework/inc/services/dispatchhelper.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_FRAMEWORK_INC_SERVICES_DISPATCHHELPER_HXX #define INCLUDED_FRAMEWORK_INC_SERVICES_DISPATCHHELPER_HXX -#include <threadhelp/threadhelpbase.hxx> #include <macros/generic.hxx> #include <macros/xinterface.hxx> #include <macros/xtypeprovider.hxx> @@ -46,8 +45,7 @@ namespace framework{ All these steps are done inside one method call here. */ -class DispatchHelper : public ThreadHelpBase // must be the first base class! - ,public ::cppu::WeakImplHelper3< ::com::sun::star::lang::XServiceInfo,::com::sun::star::frame::XDispatchHelper,::com::sun::star::frame::XDispatchResultListener > +class DispatchHelper : public ::cppu::WeakImplHelper3< ::com::sun::star::lang::XServiceInfo,::com::sun::star::frame::XDispatchHelper,::com::sun::star::frame::XDispatchResultListener > { @@ -55,6 +53,8 @@ class DispatchHelper : public ThreadHelpBase // must be the private: + osl::Mutex m_mutex; + /** global uno service manager. Can be used to create own needed services. */ css::uno::Reference< css::uno::XComponentContext > m_xContext; |