diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-02-11 08:23:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-02-11 09:16:11 +0100 |
commit | ff49c04a47dc044fef56d83f924ebd919172c1c0 (patch) | |
tree | c08b0ff9f5bb3c8ee4212ddf8cdb73654836473d | |
parent | 63d3ac37865460ff51348a6e792bbacf2f7c4653 (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.cxx | 2 |
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; |