summaryrefslogtreecommitdiff
path: root/framework/inc/dispatch
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-18 08:56:42 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-18 09:43:16 +0100
commit9a67d4f419a3487b553441aa49361e7d07a0614b (patch)
tree80842303935ca3ec782ebec574c20b65a83c2be5 /framework/inc/dispatch
parent99b6c3d4135f384d49951519aa9d0fba654dbd60 (diff)
Use SolarMutexGuard directly
Change-Id: Iaf7a74fed1846ce39de01cc343d7a75763e81e50
Diffstat (limited to 'framework/inc/dispatch')
-rw-r--r--framework/inc/dispatch/closedispatcher.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/framework/inc/dispatch/closedispatcher.hxx b/framework/inc/dispatch/closedispatcher.hxx
index f5cdb15c0e28..37064bf9adf8 100644
--- a/framework/inc/dispatch/closedispatcher.hxx
+++ b/framework/inc/dispatch/closedispatcher.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_FRAMEWORK_INC_DISPATCH_CLOSEDISPATCHER_HXX
#define INCLUDED_FRAMEWORK_INC_DISPATCH_CLOSEDISPATCHER_HXX
-#include <threadhelp/threadhelpbase.hxx>
#include <macros/xinterface.hxx>
#include <macros/xtypeprovider.hxx>
#include <macros/generic.hxx>
@@ -56,9 +55,7 @@ namespace framework{
or some other menu entries. Or we terminate the whole application in case this backing mode should not
be used.
*/
-class CloseDispatcher : // baseclasses ... order is necessary for right initialization!
- private ThreadHelpBase
- , public ::cppu::WeakImplHelper2<
+class CloseDispatcher : public ::cppu::WeakImplHelper2<
css::frame::XNotifyingDispatch, // => XDispatch
css::frame::XDispatchInformationProvider >
{
@@ -111,6 +108,7 @@ class CloseDispatcher : // baseclasses ... order is necessary for right initiali
/** @short list of registered status listener */
+ osl::Mutex m_mutex;
ListenerHash m_lStatusListener;