summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/ftransl/ftranslentry.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-02-06 17:14:00 +0200
committerNoel Grandin <noel@peralex.com>2013-02-12 10:14:46 +0200
commit851067c2684c68758afeaa7da23bb6dd69c51358 (patch)
tree2d20baf149274f6e5f2345ab757aafc9799dbb8f /dtrans/source/win32/ftransl/ftranslentry.cxx
parent2969846c29402baec792e43cfd4524366fb05613 (diff)
fdo#46808, use constructor for datatransfer::MimeContentTypeFactory
Change-Id: I576a472e22ad0e3798f4b34d808ac320f13d3e6d
Diffstat (limited to 'dtrans/source/win32/ftransl/ftranslentry.cxx')
-rw-r--r--dtrans/source/win32/ftransl/ftranslentry.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/dtrans/source/win32/ftransl/ftranslentry.cxx b/dtrans/source/win32/ftransl/ftranslentry.cxx
index eecdb3c486f2..2b04e1877c29 100644
--- a/dtrans/source/win32/ftransl/ftranslentry.cxx
+++ b/dtrans/source/win32/ftransl/ftranslentry.cxx
@@ -18,6 +18,7 @@
*/
#include <cppuhelper/factory.hxx>
+#include <comphelper/processfactory.hxx>
#include <com/sun/star/container/XSet.hpp>
#include <osl/diagnose.h>
@@ -60,7 +61,7 @@ namespace
Reference< XInterface > SAL_CALL createInstance( const Reference< XMultiServiceFactory >& rServiceManager )
{
- return Reference< XInterface >( static_cast< XDataFormatTranslator* >( new CDataFormatTranslator( rServiceManager ) ) );
+ return Reference< XInterface >( static_cast< XDataFormatTranslator* >( new CDataFormatTranslator( comphelper::getComponentContext(rServiceManager) ) ) );
}
}