diff options
Diffstat (limited to 'dtrans/source/win32/dtobj/XTDataObject.cxx')
-rw-r--r-- | dtrans/source/win32/dtobj/XTDataObject.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dtrans/source/win32/dtobj/XTDataObject.cxx b/dtrans/source/win32/dtobj/XTDataObject.cxx index a8e2ad2818ae..c343a01bb928 100644 --- a/dtrans/source/win32/dtobj/XTDataObject.cxx +++ b/dtrans/source/win32/dtobj/XTDataObject.cxx @@ -26,6 +26,7 @@ #include "TxtCnvtHlp.hxx" #include <com/sun/star/datatransfer/clipboard/XClipboardEx.hpp> #include "FmtFilter.hxx" +#include <comphelper/processfactory.hxx> #if defined _MSC_VER #pragma warning(push,1) @@ -77,7 +78,7 @@ CXTDataObject::CXTDataObject( const Reference< XMultiServiceFactory >& aServiceM , m_XTransferable( aXTransferable ) , m_bFormatEtcContainerInitialized( sal_False ) , m_DataFormatTranslator( aServiceManager ) - , m_FormatRegistrar( m_SrvMgr, m_DataFormatTranslator ) + , m_FormatRegistrar( comphelper::getComponentContext(m_SrvMgr), m_DataFormatTranslator ) { } |