summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/tdoc/tdoc_docmgr.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-08-05 20:28:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-08-05 22:29:06 +0200
commitdfed833ff3ef1532b18745df5ac0909d4e09028e (patch)
tree2834445424941d5e835b6a44b27121ec96856afd /ucb/source/ucp/tdoc/tdoc_docmgr.hxx
parent949e6d0a6f2024a9d864fe1ed2d0d1d34838bde6 (diff)
osl::Mutex->std::mutex in OfficeDocumentsManager
Change-Id: I4de3e5ea25614bb032d68476c76f32d03d6e40b7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120084 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_docmgr.hxx')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_docmgr.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_docmgr.hxx b/ucb/source/ucp/tdoc/tdoc_docmgr.hxx
index 2304a9bef853..37839f985971 100644
--- a/ucb/source/ucp/tdoc/tdoc_docmgr.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_docmgr.hxx
@@ -19,10 +19,7 @@
#pragma once
-#include <map>
-
#include <rtl/ref.hxx>
-#include <osl/mutex.hxx>
#include <cppuhelper/implbase.hxx>
@@ -34,6 +31,9 @@
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/util/XCloseListener.hpp>
+#include <map>
+#include <mutex>
+
namespace tdoc_ucp {
class ContentProvider;
@@ -137,7 +137,7 @@ namespace tdoc_ucp {
static bool isHelpDocument(
const css::uno::Reference< css::frame::XModel > & xModel );
- osl::Mutex m_aMtx;
+ std::mutex m_aMtx;
css::uno::Reference< css::uno::XComponentContext > m_xContext;
css::uno::Reference< css::frame::XGlobalEventBroadcaster > m_xDocEvtNotifier;
css::uno::Reference< css::frame::XModuleManager2 > m_xModuleMgr;