From f173aa0a86d86ddfa42ee03b5973495eb595c1fc Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 15 Jul 2020 20:16:54 +0200 Subject: loplugin:unusedmethods Change-Id: Ibc1ec64cba8eb083aaff28848a42337cc597ea19 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98857 Tested-by: Jenkins Reviewed-by: Noel Grandin --- comphelper/source/inc/comphelper_module.hxx | 13 ------------- comphelper/source/misc/componentmodule.cxx | 7 ------- 2 files changed, 20 deletions(-) (limited to 'comphelper') diff --git a/comphelper/source/inc/comphelper_module.hxx b/comphelper/source/inc/comphelper_module.hxx index 11f5c36dbf37..aaa547649b8e 100644 --- a/comphelper/source/inc/comphelper_module.hxx +++ b/comphelper/source/inc/comphelper_module.hxx @@ -39,19 +39,6 @@ namespace comphelper::module ComphelperModule(); }; - /* -------------------------------------------------------------------- */ - template < class TYPE > - class OAutoRegistration : public ::comphelper::OAutoRegistration< TYPE > - { - private: - typedef ::comphelper::OAutoRegistration< TYPE > BaseClass; - - public: - OAutoRegistration() : BaseClass( ComphelperModule::getInstance() ) - { - } - }; - } // namespace comphelper::module diff --git a/comphelper/source/misc/componentmodule.cxx b/comphelper/source/misc/componentmodule.cxx index 76c3b823557f..d4e23c70f48e 100644 --- a/comphelper/source/misc/componentmodule.cxx +++ b/comphelper/source/misc/componentmodule.cxx @@ -74,13 +74,6 @@ namespace comphelper registerImplementation( aComponent ); } - void* OModule::getComponentFactory( const char* _pImplementationName ) - { - Reference< XInterface > xFactory( getComponentFactory( - OUString::createFromAscii( _pImplementationName ) ) ); - return xFactory.get(); - } - Reference< XInterface > OModule::getComponentFactory( const OUString& _rImplementationName ) { Reference< XInterface > xReturn; -- cgit v1.2.3