[Libreoffice-commits] core.git: sd/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Tue Feb 11 08:16:43 UTC 2020
sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ff49c04a47dc044fef56d83f924ebd919172c1c0
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Feb 11 08:23:51 2020 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Feb 11 09:16:11 2020 +0100
Avoid needless ListenerList temporary
Change-Id: I0670a013136c8d8d7e7fb5caca54812f4fa490e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88422
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
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;
More information about the Libreoffice-commits
mailing list