summaryrefslogtreecommitdiff
path: root/include/toolkit
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-12-16 19:24:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-12-17 07:27:19 +0100
commitb37f9fbf05e16eb58eae40c6d900a4b9da2972db (patch)
tree2993b2e26e0aac9c0a1cc6dd3b6b5d7c565c5827 /include/toolkit
parent9564433292aa6a5a79c6c619a05434973bd4b7b3 (diff)
osl::Mutex->std::mutex in VCLXMenu
Change-Id: I93883f5cd8f5f83f33eded87d995f95dbfd7989b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126989 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/toolkit')
-rw-r--r--include/toolkit/awt/vclxmenu.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/toolkit/awt/vclxmenu.hxx b/include/toolkit/awt/vclxmenu.hxx
index b77c4d65124e..5c848975d837 100644
--- a/include/toolkit/awt/vclxmenu.hxx
+++ b/include/toolkit/awt/vclxmenu.hxx
@@ -32,7 +32,7 @@
#include <comphelper/servicehelper.hxx>
#include <cppuhelper/weak.hxx>
-#include <osl/mutex.hxx>
+#include <mutex>
#include <tools/link.hxx>
#include <vcl/vclptr.hxx>
@@ -59,14 +59,13 @@ class TOOLKIT_DLLPUBLIC VCLXMenu : public css::awt::XMenuBar,
public ::cppu::OWeakObject
{
private:
- ::osl::Mutex maMutex;
+ std::mutex maMutex;
VclPtr<Menu> mpMenu;
MenuListenerMultiplexer maMenuListeners;
PopupMenuRefList maPopupMenuRefs;
sal_Int16 mnDefaultItem;
protected:
- ::osl::Mutex& GetMutex() { return maMutex; }
DECL_DLLPRIVATE_LINK( MenuEventListener, VclMenuEvent&, void );