summaryrefslogtreecommitdiff
path: root/dtrans/source/cnttype
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/cnttype
parent851067c2684c68758afeaa7da23bb6dd69c51358 (diff)
fdo#46808, use constructor for datatransfer::DataFormatTranslator
Change-Id: I68fd87ae71f764099b00b05a29cf5194d24da58d
Diffstat (limited to 'dtrans/source/cnttype')
-rw-r--r--dtrans/source/cnttype/mcnttfactory.cxx3
-rw-r--r--dtrans/source/cnttype/mcnttfactory.hxx3
-rw-r--r--dtrans/source/cnttype/mctfentry.cxx4
3 files changed, 4 insertions, 6 deletions
diff --git a/dtrans/source/cnttype/mcnttfactory.cxx b/dtrans/source/cnttype/mcnttfactory.cxx
index e232cb462639..86eb6179a3dd 100644
--- a/dtrans/source/cnttype/mcnttfactory.cxx
+++ b/dtrans/source/cnttype/mcnttfactory.cxx
@@ -52,8 +52,7 @@ namespace
// ctor
//------------------------------------------------------------------------
-CMimeContentTypeFactory::CMimeContentTypeFactory( const Reference< XMultiServiceFactory >& rSrvMgr ) :
- m_SrvMgr( rSrvMgr )
+CMimeContentTypeFactory::CMimeContentTypeFactory()
{
}
diff --git a/dtrans/source/cnttype/mcnttfactory.hxx b/dtrans/source/cnttype/mcnttfactory.hxx
index a64f89033043..94721d9e21cb 100644
--- a/dtrans/source/cnttype/mcnttfactory.hxx
+++ b/dtrans/source/cnttype/mcnttfactory.hxx
@@ -33,7 +33,7 @@ class CMimeContentTypeFactory : public
{
public:
- CMimeContentTypeFactory( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rSrvMgr );
+ CMimeContentTypeFactory();
//------------------------------------------------
// XMimeContentTypeFactory
@@ -57,7 +57,6 @@ public:
private:
::osl::Mutex m_aMutex;
- const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_SrvMgr;
};
diff --git a/dtrans/source/cnttype/mctfentry.cxx b/dtrans/source/cnttype/mctfentry.cxx
index 913fc037882e..096a942512b4 100644
--- a/dtrans/source/cnttype/mctfentry.cxx
+++ b/dtrans/source/cnttype/mctfentry.cxx
@@ -57,9 +57,9 @@ namespace
// so we should give it to every UNO-Implementation component
//-----------------------------------------------------------------------------------------------------------
- Reference< XInterface > SAL_CALL createInstance( const Reference< XMultiServiceFactory >& rServiceManager )
+ Reference< XInterface > SAL_CALL createInstance( const Reference< XMultiServiceFactory >& )
{
- return Reference< XInterface >( static_cast< XMimeContentTypeFactory* >( new CMimeContentTypeFactory( rServiceManager ) ) );
+ return Reference< XInterface >( static_cast< XMimeContentTypeFactory* >( new CMimeContentTypeFactory() ) );
}
}