diff options
Diffstat (limited to 'dtrans/source/win32/dtobj/XTDataObject.cxx')
-rw-r--r-- | dtrans/source/win32/dtobj/XTDataObject.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/dtrans/source/win32/dtobj/XTDataObject.cxx b/dtrans/source/win32/dtobj/XTDataObject.cxx index c343a01bb928..5b8bb978ed6b 100644 --- a/dtrans/source/win32/dtobj/XTDataObject.cxx +++ b/dtrans/source/win32/dtobj/XTDataObject.cxx @@ -71,14 +71,13 @@ public: // ctor //------------------------------------------------------------------------ -CXTDataObject::CXTDataObject( const Reference< XMultiServiceFactory >& aServiceManager, +CXTDataObject::CXTDataObject( const Reference< XComponentContext >& rxContext, const Reference< XTransferable >& aXTransferable ) : m_nRefCnt( 0 ) - , m_SrvMgr( aServiceManager ) , m_XTransferable( aXTransferable ) , m_bFormatEtcContainerInitialized( sal_False ) - , m_DataFormatTranslator( aServiceManager ) - , m_FormatRegistrar( comphelper::getComponentContext(m_SrvMgr), m_DataFormatTranslator ) + , m_DataFormatTranslator( rxContext ) + , m_FormatRegistrar( rxContext, m_DataFormatTranslator ) { } |