summaryrefslogtreecommitdiff
path: root/dtrans/source/inc
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/inc
parent851067c2684c68758afeaa7da23bb6dd69c51358 (diff)
fdo#46808, use constructor for datatransfer::DataFormatTranslator
Change-Id: I68fd87ae71f764099b00b05a29cf5194d24da58d
Diffstat (limited to 'dtrans/source/inc')
-rw-r--r--dtrans/source/inc/DtObjFactory.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dtrans/source/inc/DtObjFactory.hxx b/dtrans/source/inc/DtObjFactory.hxx
index e196a498f070..3427236b40f2 100644
--- a/dtrans/source/inc/DtObjFactory.hxx
+++ b/dtrans/source/inc/DtObjFactory.hxx
@@ -22,17 +22,17 @@
#define _DTOBJFACTORY_HXX_
#include <com/sun/star/datatransfer/XTransferable.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
#include <systools/win32/comtools.hxx>
class CDTransObjFactory
{
public:
- virtual IDataObjectPtr SAL_CALL createDataObjFromTransferable( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& aServiceManager,
+ virtual IDataObjectPtr SAL_CALL createDataObjFromTransferable( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext,
const com::sun::star::uno::Reference< com::sun::star::datatransfer::XTransferable >& refXTransferable );
virtual com::sun::star::uno::Reference< com::sun::star::datatransfer::XTransferable > SAL_CALL createTransferableFromDataObj(
- const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& aServiceManager, IDataObjectPtr pIDataObject );
+ const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext, IDataObjectPtr pIDataObject );
};
#endif