summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svl/source/notify/SfxBroadcaster.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svl/source/notify/SfxBroadcaster.cxx b/svl/source/notify/SfxBroadcaster.cxx
index e9b0e1e1a552..419c535f56dc 100644
--- a/svl/source/notify/SfxBroadcaster.cxx
+++ b/svl/source/notify/SfxBroadcaster.cxx
@@ -137,7 +137,8 @@ void SfxBroadcaster::ForAllListeners(std::function<bool(SfxListener*)> f) const
{
SfxListener* const pListener = m_Listeners[i];
if (pListener)
- f(pListener);
+ if (f(pListener))
+ break;
}
}