From 4bb2bca091ffa0cc8a5f4a850eef146bb66feaa0 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 23 Jul 2017 13:44:27 +0200 Subject: remove now unnecessary comphelper::OModuleClient stuff after the great gettext migration of 2017 Change-Id: I704389b1ae1fb34dae0429c98cbfc89c2d3b8e27 Reviewed-on: https://gerrit.libreoffice.org/40322 Tested-by: Jenkins Reviewed-by: Noel Grandin --- comphelper/source/misc/componentmodule.cxx | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'comphelper') diff --git a/comphelper/source/misc/componentmodule.cxx b/comphelper/source/misc/componentmodule.cxx index dc780d55ae78..e1e95aee11a1 100644 --- a/comphelper/source/misc/componentmodule.cxx +++ b/comphelper/source/misc/componentmodule.cxx @@ -49,8 +49,7 @@ namespace comphelper } OModule::OModule() - : m_nClients(0) - , m_pImpl(new OModuleImpl) + : m_pImpl(new OModuleImpl) { } @@ -58,24 +57,6 @@ namespace comphelper { } - void OModule::registerClient( OModule::ClientAccess ) - { - osl_atomic_increment( &m_nClients ); - } - - void OModule::revokeClient( OModule::ClientAccess ) - { - if ( 0 == osl_atomic_decrement( &m_nClients ) ) - { - ::osl::MutexGuard aGuard(m_aMutex); - onLastClient(); - } - } - - void OModule::onLastClient() - { - } - void OModule::registerImplementation( const ComponentDescription& _rComp ) { ::osl::MutexGuard aGuard( m_aMutex ); -- cgit