summaryrefslogtreecommitdiffstats
path: root/include
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 /include
parentClass ImplGetDevFontList renamed to ImplDeviceFontList (diff)
downloadcore-3f47ffcf587938508ee4949ac668a76334448c71.tar.gz
core-3f47ffcf587938508ee4949ac668a76334448c71.zip
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 'include')
-rw-r--r--include/comphelper/componentmodule.hxx5
-rw-r--r--include/unotools/componentresmodule.hxx1
2 files changed, 0 insertions, 6 deletions
diff --git a/include/comphelper/componentmodule.hxx b/include/comphelper/componentmodule.hxx
index 2f6bc6812113..9317916ae276 100644
--- a/include/comphelper/componentmodule.hxx
+++ b/include/comphelper/componentmodule.hxx
@@ -142,11 +142,6 @@ namespace comphelper
void revokeClient( ClientAccess );
protected:
- /** called when the first client has been registered
- @precond
- <member>m_aMutex</member> is locked
- */
- virtual void onFirstClient();
/** called when the last client has been revoked
@precond
diff --git a/include/unotools/componentresmodule.hxx b/include/unotools/componentresmodule.hxx
index bf271db59650..bc35a6cd1a0c 100644
--- a/include/unotools/componentresmodule.hxx
+++ b/include/unotools/componentresmodule.hxx
@@ -57,7 +57,6 @@ namespace utl
protected:
// OModule overridables
- virtual void onFirstClient() override;
virtual void onLastClient() override;
};