summaryrefslogtreecommitdiff
path: root/svl/source/notify
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-21 12:15:26 +0200
committerNoel Grandin <noel@peralex.com>2015-01-26 08:42:29 +0200
commitf61dbc302975aaa253b00ea6b141bb12474b3c95 (patch)
tree7150ea10f0111c4e6677030ac568c7be03424e08 /svl/source/notify
parentb44cbb26efe1d0b0950b1e1613e131b506dc3876 (diff)
followup code removal after changing virtual methods to non-virtual
This cleanups up indentation and removes dead classes. This is a followup patch to commit 272b1dd55797aacf511fb4342b0054e3697243f6 "new loplugin: change virtual methods to non-virtual" Change-Id: I1c2139589cf8cb23bb9808defe22c51039d38de1
Diffstat (limited to 'svl/source/notify')
-rw-r--r--svl/source/notify/SfxBroadcaster.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/svl/source/notify/SfxBroadcaster.cxx b/svl/source/notify/SfxBroadcaster.cxx
index 37527e442a26..f68fc472a203 100644
--- a/svl/source/notify/SfxBroadcaster.cxx
+++ b/svl/source/notify/SfxBroadcaster.cxx
@@ -110,13 +110,6 @@ void SfxBroadcaster::AddListener( SfxListener& rListener )
}
-// called, if no more listeners exists
-
-void SfxBroadcaster::ListenersGone()
-{
-}
-
-
// forward a notification to all registered listeners
void SfxBroadcaster::Forward(SfxBroadcaster& rBC, const SfxHint& rHint)
@@ -143,9 +136,6 @@ void SfxBroadcaster::RemoveListener( SfxListener& rListener )
*aIter = 0;
size_t positionOfRemovedElement = std::distance(mpImpl->m_Listeners.begin(), aIter);
mpImpl->m_RemovedPositions.push_back(positionOfRemovedElement);
-
- if ( !HasListeners() )
- ListenersGone();
}
bool SfxBroadcaster::HasListeners() const