[Libreoffice-commits] core.git: vcl/source
Mike Kaganski (via logerrit)
logerrit at kemper.freedesktop.org
Tue Mar 9 13:24:44 UTC 2021
vcl/source/components/dtranscomp.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit cf88e15abf8cc0c7ca7c9edb221c878f8d6b4726
Author: Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Tue Mar 9 10:50:20 2021 +0300
Commit: Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Tue Mar 9 14:24:02 2021 +0100
Don't use uninitialized member to initialize base class
Change-Id: I2c5c6c61d7eadd2fe7c7ad89b90fae508e9684f4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112189
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
Tested-by: Jenkins
diff --git a/vcl/source/components/dtranscomp.cxx b/vcl/source/components/dtranscomp.cxx
index bd89a1404e01..645e50625ba3 100644
--- a/vcl/source/components/dtranscomp.cxx
+++ b/vcl/source/components/dtranscomp.cxx
@@ -40,6 +40,7 @@
#include <com/sun/star/datatransfer/dnd/XDropTarget.hpp>
#include <com/sun/star/datatransfer/dnd/DNDConstants.hpp>
+#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/compbase.hxx>
#include <cppuhelper/supportsservice.hxx>
@@ -53,12 +54,12 @@ namespace {
// generic implementation to satisfy SalInstance
class GenericClipboard :
+ public cppu::BaseMutex,
public cppu::WeakComponentImplHelper<
datatransfer::clipboard::XSystemClipboard,
XServiceInfo
>
{
- osl::Mutex m_aMutex;
Reference< css::datatransfer::XTransferable > m_aContents;
Reference< css::datatransfer::clipboard::XClipboardOwner > m_aOwner;
std::vector< Reference< css::datatransfer::clipboard::XClipboardListener > > m_aListeners;
More information about the Libreoffice-commits
mailing list