summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/clipb/WinClipboard.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-02-11 14:44:18 +0200
committerNoel Grandin <noel@peralex.com>2013-02-12 10:14:47 +0200
commit0e286f768ed028ce91bb4730010363dac30acec6 (patch)
tree7336a8b7ec05c5677a42e789fea6c14b477b7d0c /dtrans/source/win32/clipb/WinClipboard.hxx
parent851067c2684c68758afeaa7da23bb6dd69c51358 (diff)
fdo#46808, use constructor for datatransfer::DataFormatTranslator
Change-Id: I68fd87ae71f764099b00b05a29cf5194d24da58d
Diffstat (limited to 'dtrans/source/win32/clipb/WinClipboard.hxx')
-rw-r--r--dtrans/source/win32/clipb/WinClipboard.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/dtrans/source/win32/clipb/WinClipboard.hxx b/dtrans/source/win32/clipb/WinClipboard.hxx
index a5edc97a2589..65688d526513 100644
--- a/dtrans/source/win32/clipb/WinClipboard.hxx
+++ b/dtrans/source/win32/clipb/WinClipboard.hxx
@@ -32,6 +32,7 @@
#include <com/sun/star/datatransfer/clipboard/XSystemClipboard.hpp>
#include <com/sun/star/datatransfer/clipboard/XFlushableClipboard.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
#include <osl/conditn.hxx>
#include <memory>
@@ -68,7 +69,7 @@ class CWinClipboard :
::com::sun::star::lang::XServiceInfo >
{
public:
- CWinClipboard( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rServiceManager,
+ CWinClipboard( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext,
const ::rtl::OUString& aClipboardName );
//------------------------------------------------
@@ -134,8 +135,8 @@ private:
void SAL_CALL notifyAllClipboardListener( );
private:
- ::std::auto_ptr< CWinClipbImpl > m_pImpl;
- ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_SrvMgr;
+ ::std::auto_ptr< CWinClipbImpl > m_pImpl;
+ ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext;
friend class CWinClipbImpl;
};