summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
Diffstat (limited to 'svl')
-rw-r--r--svl/source/notify/SfxBroadcaster.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/svl/source/notify/SfxBroadcaster.cxx b/svl/source/notify/SfxBroadcaster.cxx
index c1c5bee51f34..e9b0e1e1a552 100644
--- a/svl/source/notify/SfxBroadcaster.cxx
+++ b/svl/source/notify/SfxBroadcaster.cxx
@@ -141,18 +141,6 @@ void SfxBroadcaster::ForAllListeners(std::function<bool(SfxListener*)> f) const
}
}
-std::vector<SfxListener*> SfxBroadcaster::GetListenersForUnitTest() const
-{
- std::vector<SfxListener*> rv;
- for (size_t i = 0; i < m_Listeners.size(); ++i)
- {
- SfxListener* const pListener = m_Listeners[i];
- if (pListener)
- rv.push_back(pListener);
- }
- return rv;
-}
-
bool SfxBroadcaster::HasListeners() const { return GetListenerCount() != 0; }
size_t SfxBroadcaster::GetListenerCount() const