summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-07-30 15:21:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-07-30 17:34:39 +0200
commit0c1b49048f1127d352b43847353392f0512f19e3 (patch)
tree81bbe680c12a5a1fa5e4c98f73881ca14e4fc1e2 /comphelper
parent64cf52d47968d512afd383ce9a7321a4bd72b2ca (diff)
loplugin:unusedmethods
and tweak the plugin a little to speed it up Change-Id: Ia59456232602184c4f1b5d1d75ad94a9a2e2d0be Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99799 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/componentmodule.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/comphelper/source/misc/componentmodule.cxx b/comphelper/source/misc/componentmodule.cxx
index 2fb5c31d9144..0c09cb80ccb0 100644
--- a/comphelper/source/misc/componentmodule.cxx
+++ b/comphelper/source/misc/componentmodule.cxx
@@ -33,15 +33,11 @@ namespace comphelper
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::XInterface;
- typedef std::vector< ComponentDescription > ComponentDescriptions;
-
/** implementation for <type>OModule</type>. not threadsafe, has to be guarded by its owner
*/
class OModuleImpl
{
public:
- ComponentDescriptions m_aRegisteredComponents;
-
OModuleImpl();
};
@@ -58,15 +54,6 @@ namespace comphelper
{
}
- void OModule::registerImplementation( const ComponentDescription& _rComp )
- {
- ::osl::MutexGuard aGuard( m_aMutex );
- if ( !m_pImpl )
- throw RuntimeException();
-
- m_pImpl->m_aRegisteredComponents.push_back( _rComp );
- }
-
} // namespace comphelper
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */