summaryrefslogtreecommitdiff
path: root/framework/source/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-20 11:20:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-20 15:04:12 +0100
commit3d07d18a1828ef27179df119caae2ac62e5831dd (patch)
tree94ec37244c9cc3c4e3c2ef8d240401995e592d4f /framework/source/inc
parent3f1d1539f6052d0048feae840074322552cd8e46 (diff)
Use an osl::Mutex directly
Change-Id: I49b88214bca33add9f9ea3d81870d54e40c5255b
Diffstat (limited to 'framework/source/inc')
-rw-r--r--framework/source/inc/dispatch/windowcommanddispatch.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/framework/source/inc/dispatch/windowcommanddispatch.hxx b/framework/source/inc/dispatch/windowcommanddispatch.hxx
index 2c0ff5fcc9a5..6436b32fe26f 100644
--- a/framework/source/inc/dispatch/windowcommanddispatch.hxx
+++ b/framework/source/inc/dispatch/windowcommanddispatch.hxx
@@ -20,8 +20,6 @@
#ifndef INCLUDED_FRAMEWORK_SOURCE_INC_DISPATCH_WINDOWCOMMANDDISPATCH_HXX
#define INCLUDED_FRAMEWORK_SOURCE_INC_DISPATCH_WINDOWCOMMANDDISPATCH_HXX
-#include <threadhelp/threadhelpbase.hxx>
-
#include <com/sun/star/awt/XWindow.hpp>
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/lang/XEventListener.hpp>
@@ -47,9 +45,10 @@ namespace framework{
scenarios. On the other side VCL does not hold us alive (because it doesn't know our UNO reference).
So we register at the VCL level as an event listener and
*/
-class WindowCommandDispatch : private ThreadHelpBase
+class WindowCommandDispatch
{
private:
+ osl::Mutex m_mutex;
/// can be used to create own needed services on demand.
css::uno::Reference< css::uno::XComponentContext > m_xContext;