diff options
Diffstat (limited to 'dtrans/source/cnttype')
-rw-r--r-- | dtrans/source/cnttype/mcnttfactory.cxx | 3 | ||||
-rw-r--r-- | dtrans/source/cnttype/mcnttfactory.hxx | 3 | ||||
-rw-r--r-- | dtrans/source/cnttype/mctfentry.cxx | 4 |
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() ) ); } } |