summaryrefslogtreecommitdiff
path: root/framework/source/inc/dispatch/windowcommanddispatch.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/inc/dispatch/windowcommanddispatch.hxx')
-rw-r--r--framework/source/inc/dispatch/windowcommanddispatch.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/framework/source/inc/dispatch/windowcommanddispatch.hxx b/framework/source/inc/dispatch/windowcommanddispatch.hxx
index b2637e9338f7..4a8a22d81c0b 100644
--- a/framework/source/inc/dispatch/windowcommanddispatch.hxx
+++ b/framework/source/inc/dispatch/windowcommanddispatch.hxx
@@ -24,6 +24,7 @@
#include <cppuhelper/weakref.hxx>
#include <tools/link.hxx>
+#include <mutex>
namespace com::sun::star::uno {
class XComponentContext;
@@ -46,7 +47,7 @@ namespace framework{
class WindowCommandDispatch final
{
private:
- osl::Mutex m_mutex;
+ std::mutex m_mutex;
/// can be used to create own needed services on demand.
css::uno::Reference< css::uno::XComponentContext > m_xContext;
@@ -73,8 +74,8 @@ class WindowCommandDispatch final
@param xFrame
used as for new detected commands.
*/
- WindowCommandDispatch(const css::uno::Reference< css::uno::XComponentContext >& xContext ,
- const css::uno::Reference< css::frame::XFrame >& xFrame);
+ WindowCommandDispatch(css::uno::Reference< css::uno::XComponentContext > xContext ,
+ const css::uno::Reference< css::frame::XFrame >& xFrame);
/** @short used to free internal resources.
*/