diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-06-29 13:53:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-06-29 17:34:00 +0200 |
commit | 74cd0d0b281f8df75612bfb600df2eae62c4d21d (patch) | |
tree | bbfb2e37d317ffad49267fe71fd270198fdb81e1 /svl/source/notify | |
parent | 4c51f2e0dfdddfe0efb4218d2cd1deefd90b6eff (diff) |
loplugin:unusedmethods
Change-Id: I95ab7581dec35b113cb657ce8e5ee27c89c73593
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153746
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl/source/notify')
-rw-r--r-- | svl/source/notify/SfxBroadcaster.cxx | 12 |
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 |