summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-02-11 08:23:51 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-02-11 09:16:11 +0100
commitff49c04a47dc044fef56d83f924ebd919172c1c0 (patch)
treec08b0ff9f5bb3c8ee4212ddf8cdb73654836473d
parent63d3ac37865460ff51348a6e792bbacf2f7c4653 (diff)
Avoid needless ListenerList temporary
Change-Id: I0670a013136c8d8d7e7fb5caca54812f4fa490e4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88422 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx b/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx
index 51e24b81ce41..882549fa059b 100644
--- a/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx
+++ b/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx
@@ -46,7 +46,7 @@ void ConfigurationControllerBroadcaster::AddListener(
mxConfigurationController,
0);
- maListenerMap.try_emplace(rsEventType, ListenerList());
+ maListenerMap.try_emplace(rsEventType);
ListenerDescriptor aDescriptor;
aDescriptor.mxListener = rxListener;