summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-05-19 09:35:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-05-19 20:24:21 +0200
commit4d07ee9a54e0b929ab116b08227e20f4a9c330e9 (patch)
treed7fe0af3ca8bf9cf77b1c0246bedf646127e4cc2 /comphelper
parent8dfceb4e0b05b9d531e27e38b954f18e33091f8a (diff)
loplugin:virtualdead
Change-Id: I089fd6b9281cc35768462e83a7e18588f357df4e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152003 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/property/propmultiplex2.cxx10
1 files changed, 1 insertions, 9 deletions
diff --git a/comphelper/source/property/propmultiplex2.cxx b/comphelper/source/property/propmultiplex2.cxx
index 72e801524de8..16c06c3bc1f9 100644
--- a/comphelper/source/property/propmultiplex2.cxx
+++ b/comphelper/source/property/propmultiplex2.cxx
@@ -33,11 +33,6 @@ OPropertyChangeListener2::~OPropertyChangeListener2()
m_xAdapter->onListenerDestruction();
}
-void OPropertyChangeListener2::_disposing(const EventObject&)
-{
- // nothing to do here
-}
-
void OPropertyChangeListener2::disposeAdapter(std::unique_lock<std::mutex>& rGuard)
{
if (m_xAdapter.is())
@@ -106,14 +101,11 @@ void OPropertyChangeMultiplexer2::onListenerDestruction()
// XEventListener
-void SAL_CALL OPropertyChangeMultiplexer2::disposing(const EventObject& _rSource)
+void SAL_CALL OPropertyChangeMultiplexer2::disposing(const EventObject& /*_rSource*/)
{
std::unique_lock g(m_rMutex);
if (m_pListener)
{
- // tell the listener
- if (!locked())
- m_pListener->_disposing(_rSource);
// disconnect the listener
if (m_pListener) // may have been reset whilst calling into _disposing
m_pListener->setAdapter(g, nullptr);