summaryrefslogtreecommitdiff
path: root/svl/source/notify
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/notify')
-rw-r--r--svl/source/notify/listener.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/svl/source/notify/listener.cxx b/svl/source/notify/listener.cxx
index 506647784451..c668397baa47 100644
--- a/svl/source/notify/listener.cxx
+++ b/svl/source/notify/listener.cxx
@@ -90,6 +90,7 @@ void SvtListener::EndListeningAll()
void SvtListener::CopyAllBroadcasters( const SvtListener& r )
{
+ EndListeningAll();
BroadcastersType aCopy(r.maBroadcasters);
maBroadcasters.swap(aCopy);
BroadcastersType::iterator it = maBroadcasters.begin();