summaryrefslogtreecommitdiff
path: root/svl/source/notify/SfxBroadcaster.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/notify/SfxBroadcaster.cxx')
-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