sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ff49c04a47dc044fef56d83f924ebd919172c1c0 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Tue Feb 11 08:23:51 2020 +0100 Commit: Stephan Bergmann <sberg...@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 <sberg...@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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits