summaryrefslogtreecommitdiff
path: root/vcl/win/dtrans/WinClipboard.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/win/dtrans/WinClipboard.hxx')
-rw-r--r--vcl/win/dtrans/WinClipboard.hxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/vcl/win/dtrans/WinClipboard.hxx b/vcl/win/dtrans/WinClipboard.hxx
index ac86d0d547b4..779c272c56c9 100644
--- a/vcl/win/dtrans/WinClipboard.hxx
+++ b/vcl/win/dtrans/WinClipboard.hxx
@@ -21,8 +21,8 @@
#include <rtl/ustring.hxx>
#include <sal/types.h>
-#include <cppuhelper/basemutex.hxx>
-#include <cppuhelper/compbase.hxx>
+#include <comphelper/compbase.hxx>
+#include <comphelper/interfacecontainer4.hxx>
#include <com/sun/star/datatransfer/XTransferable.hpp>
#include <com/sun/star/datatransfer/clipboard/XClipboardEx.hpp>
#include <com/sun/star/datatransfer/clipboard/XClipboardOwner.hpp>
@@ -48,10 +48,9 @@
// by this class!
class CWinClipboard final
- : public cppu::BaseMutex,
- public cppu::WeakComponentImplHelper<css::datatransfer::clipboard::XSystemClipboard,
- css::datatransfer::clipboard::XFlushableClipboard,
- css::lang::XServiceInfo>
+ : public comphelper::WeakComponentImplHelper<css::datatransfer::clipboard::XSystemClipboard,
+ css::datatransfer::clipboard::XFlushableClipboard,
+ css::lang::XServiceInfo>
{
friend STDMETHODIMP_(ULONG) CXNotifyingDataObject::Release();
@@ -62,6 +61,8 @@ class CWinClipboard final
com::sun::star::uno::Reference<com::sun::star::datatransfer::XTransferable> m_foreignContent;
osl::Mutex m_aContentMutex;
osl::Mutex m_aContentCacheMutex;
+ comphelper::OInterfaceContainerHelper4<css::datatransfer::clipboard::XClipboardListener>
+ maClipboardListeners;
void notifyAllClipboardListener();
void onReleaseDataObject(CXNotifyingDataObject* theCaller);