summaryrefslogtreecommitdiff
path: root/include/vcl/transfer.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-07-30 15:23:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-07-31 14:16:59 +0200
commit95e7f977acc81555525565853e42e9df9ff5ebad (patch)
tree7eac0c18adf32b07276f67526e53cd077121b9d5 /include/vcl/transfer.hxx
parentf1f15123bb6af38866b40f8e0d0b6530f69e1eca (diff)
osl::Mutex->std::mutex in DragSourceHelper
Change-Id: I886300dc65542f5e716fa970a9804c6084419515 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119727 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/transfer.hxx')
-rw-r--r--include/vcl/transfer.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/transfer.hxx b/include/vcl/transfer.hxx
index 75d81f5fa5db..0b13f504926c 100644
--- a/include/vcl/transfer.hxx
+++ b/include/vcl/transfer.hxx
@@ -41,6 +41,7 @@
#include <com/sun/star/datatransfer/dnd/XDropTargetListener.hpp>
#include <com/sun/star/embed/Aspects.hpp>
#include <memory>
+#include <mutex>
namespace com::sun::star::datatransfer::dnd { class XDragGestureRecognizer; }
namespace com::sun::star::io { class XInputStream; }
@@ -399,7 +400,7 @@ private:
friend class DragSourceHelper::DragGestureListener;
private:
- osl::Mutex maMutex;
+ std::mutex maMutex;
css::uno::Reference< css::datatransfer::dnd::XDragGestureRecognizer > mxDragGestureRecognizer;
css::uno::Reference< css::datatransfer::dnd::XDragGestureListener > mxDragGestureListener;