summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2018-09-30 08:40:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-01 08:15:39 +0200
commit3de097e028d1079b0f48f43fab843fe53d39ec5d (patch)
tree882c8876f6664ce9721b8bed16320e4cc7cabf2f /include/svl
parent8e56287a931b7fbc2fd645e0d5592212965b8d04 (diff)
fix bug in SvtListener::CopyAllBroadcasters
need to flush existing broadcasters before overwriting Change-Id: If570b838d0313ab7598b36ff8a32fc6d31dea92c Reviewed-on: https://gerrit.libreoffice.org/61151 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/listener.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/svl/listener.hxx b/include/svl/listener.hxx
index d6dc7b0cddbb..5ba14aea953e 100644
--- a/include/svl/listener.hxx
+++ b/include/svl/listener.hxx
@@ -55,6 +55,7 @@ public:
bool EndListening( SvtBroadcaster& rBroadcaster );
void EndListeningAll();
+ /// Overwrites existing broadcasters with the ones from the specified listener
void CopyAllBroadcasters( const SvtListener& r );
bool HasBroadcaster() const;