summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-07-15 20:16:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-07-16 08:34:03 +0200
commitf173aa0a86d86ddfa42ee03b5973495eb595c1fc (patch)
treec99e6f83eeb224d3010d1aaf5b83e1347e216c82 /comphelper
parent39ec20cd90164089cb2b9a89e1b7d64a1c12822a (diff)
loplugin:unusedmethods
Change-Id: Ibc1ec64cba8eb083aaff28848a42337cc597ea19 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98857 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/inc/comphelper_module.hxx13
-rw-r--r--comphelper/source/misc/componentmodule.cxx7
2 files changed, 0 insertions, 20 deletions
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;