diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-20 11:49:39 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-20 15:04:14 +0100 |
commit | d8910d12b897e622f4b5f8a47d8a10fe77efbef8 (patch) | |
tree | 89b44455a2e52436c6fc279b515cf113a9fd651c /framework/inc/dispatch | |
parent | 8114055880ef14999058cd549dd7bda83cbf1c69 (diff) |
Use an osl::Mutex directly
Change-Id: I4adad36de95c022a7945b61a44bb6166ad87a8a7
Diffstat (limited to 'framework/inc/dispatch')
-rw-r--r-- | framework/inc/dispatch/oxt_handler.hxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/framework/inc/dispatch/oxt_handler.hxx b/framework/inc/dispatch/oxt_handler.hxx index 7ce5f92e8655..c3676c033ced 100644 --- a/framework/inc/dispatch/oxt_handler.hxx +++ b/framework/inc/dispatch/oxt_handler.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_FRAMEWORK_INC_DISPATCH_OXT_HANDLER_HXX #define INCLUDED_FRAMEWORK_INC_DISPATCH_OXT_HANDLER_HXX -#include <threadhelp/threadhelpbase.hxx> #include <macros/xinterface.hxx> #include <macros/xtypeprovider.hxx> #include <macros/xserviceinfo.hxx> @@ -53,11 +52,7 @@ namespace framework{ @devstatus ready @threadsafe yes *//*-*************************************************************************************************************/ -class Oxt_Handler : // baseclasses - // Order is necessary for right initialization! - private ThreadHelpBase - // interfaces - , public ::cppu::WeakImplHelper3< +class Oxt_Handler : public ::cppu::WeakImplHelper3< css::lang::XServiceInfo, css::frame::XNotifyingDispatch, // => XDispatch css::document::XExtendedFilterDetection > @@ -114,6 +109,7 @@ class Oxt_Handler : // baseclasses // (should be private everyway!) private: + osl::Mutex m_mutex; css::uno::Reference< css::lang::XMultiServiceFactory > m_xFactory ; /// global uno service factory to create new services css::uno::Reference< css::uno::XInterface > m_xSelfHold ; /// we must protect us against dieing during async(!) dispatch() call! |