summaryrefslogtreecommitdiff
path: root/vcl/source/components/dtranscomp.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-01-14 16:05:07 +0200
committerNoel Grandin <noel@peralex.com>2013-01-15 09:56:01 +0200
commit2fe852386c9450014f84910b0a282d684f40b56a (patch)
tree88a39e3ad180a0266b881f71c3679fed769532fc /vcl/source/components/dtranscomp.cxx
parent54f141882400731e75d25ac137fa516d9093f4fc (diff)
fdo#46808, Adapt SystemClipboard UNO service to new style
this is the datatransfer::clipboard::SystemClipboard service Change-Id: I00227a2d84e2f1eaf9ca1ebb4fbe1f1548a6621d
Diffstat (limited to 'vcl/source/components/dtranscomp.cxx')
-rw-r--r--vcl/source/components/dtranscomp.cxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/vcl/source/components/dtranscomp.cxx b/vcl/source/components/dtranscomp.cxx
index 88242e5e8849..18881de9e0cb 100644
--- a/vcl/source/components/dtranscomp.cxx
+++ b/vcl/source/components/dtranscomp.cxx
@@ -34,13 +34,13 @@
#include "com/sun/star/datatransfer/clipboard/XClipboardEx.hpp"
#include "com/sun/star/datatransfer/clipboard/XClipboardNotifier.hpp"
#include "com/sun/star/datatransfer/clipboard/XClipboardListener.hpp"
+#include "com/sun/star/datatransfer/clipboard/XSystemClipboard.hpp"
#include "com/sun/star/datatransfer/dnd/XDragSource.hpp"
#include "com/sun/star/datatransfer/dnd/XDropTarget.hpp"
#include "com/sun/star/datatransfer/dnd/DNDConstants.hpp"
#include "cppuhelper/compbase1.hxx"
#include "cppuhelper/compbase2.hxx"
-#include "cppuhelper/compbase3.hxx"
#include "cppuhelper/implbase1.hxx"
using rtl::OUString;
@@ -54,9 +54,8 @@ namespace vcl
{
// generic implementation to satisfy SalInstance
class GenericClipboard :
- public cppu::WeakComponentImplHelper3 <
- datatransfer::clipboard::XClipboardEx,
- datatransfer::clipboard::XClipboardNotifier,
+ public cppu::WeakComponentImplHelper2 <
+ datatransfer::clipboard::XSystemClipboard,
XServiceInfo
>
{
@@ -70,9 +69,8 @@ class GenericClipboard :
public:
- GenericClipboard() : cppu::WeakComponentImplHelper3<
- datatransfer::clipboard::XClipboardEx,
- datatransfer::clipboard::XClipboardNotifier,
+ GenericClipboard() : cppu::WeakComponentImplHelper2<
+ datatransfer::clipboard::XSystemClipboard,
XServiceInfo
>( m_aMutex )
{}