summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/clipb/WinClipboard.cxx
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.cxx
parent851067c2684c68758afeaa7da23bb6dd69c51358 (diff)
fdo#46808, use constructor for datatransfer::DataFormatTranslator
Change-Id: I68fd87ae71f764099b00b05a29cf5194d24da58d
Diffstat (limited to 'dtrans/source/win32/clipb/WinClipboard.cxx')
-rw-r--r--dtrans/source/win32/clipb/WinClipboard.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dtrans/source/win32/clipb/WinClipboard.cxx b/dtrans/source/win32/clipb/WinClipboard.cxx
index 88661c4a3d99..7bf96872e34e 100644
--- a/dtrans/source/win32/clipb/WinClipboard.cxx
+++ b/dtrans/source/win32/clipb/WinClipboard.cxx
@@ -59,9 +59,9 @@ namespace
// ctor
//------------------------------------------------------------------------
/*XEventListener,*/
-CWinClipboard::CWinClipboard( const Reference< XMultiServiceFactory >& rServiceManager, const OUString& aClipboardName ) :
+CWinClipboard::CWinClipboard( const Reference< XComponentContext >& rxContext, const OUString& aClipboardName ) :
WeakComponentImplHelper3< XSystemClipboard, XFlushableClipboard, XServiceInfo >( m_aCbListenerMutex ),
- m_SrvMgr( rServiceManager )
+ m_xContext( rxContext )
{
m_pImpl.reset( new CWinClipbImpl( aClipboardName, this ) );
}