summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-12-23 16:52:18 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-12-24 07:27:05 +0000
commit3f47ffcf587938508ee4949ac668a76334448c71 (patch)
treef4da8e3a646980f366b4fa4128fc08fca734ad3e /unotools
parent693fbbfacafed819798a99831ae7f642d10816c8 (diff)
OModule::onFirstClient is unused
also move the MutexGuard in revokeClient. No need to hold it while doing an osl_atomic_increment. Save it until we actually need to call onLastClient. Change-Id: Ia87f24b66b0430604a2fe717c95223ff1f5ece6d Reviewed-on: https://gerrit.libreoffice.org/20919 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/misc/componentresmodule.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/unotools/source/misc/componentresmodule.cxx b/unotools/source/misc/componentresmodule.cxx
index ed8a3381ab97..c0b23e179845 100644
--- a/unotools/source/misc/componentresmodule.cxx
+++ b/unotools/source/misc/componentresmodule.cxx
@@ -105,11 +105,6 @@ namespace utl
return m_pImpl->getResManager();
}
- void OComponentResourceModule::onFirstClient()
- {
- BaseClass::onFirstClient();
- }
-
void OComponentResourceModule::onLastClient()
{
m_pImpl->freeResManager();