summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-23 13:44:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-23 21:11:32 +0200
commit4bb2bca091ffa0cc8a5f4a850eef146bb66feaa0 (patch)
treee5cbebaf295f857d73ac73a1d3ea9f542961b898 /comphelper
parent3c077e587d36170be53bad90bd5c87364295426c (diff)
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 <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/componentmodule.cxx21
1 files changed, 1 insertions, 20 deletions
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 );