From fb38c6d5e0eb4093cf9612f18d22811812adab17 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 10 Dec 2018 12:22:23 +0200 Subject: simplify some copy construction Change-Id: Icc20ae913052a7ae96c0722a458d75bbb5eef1cd Reviewed-on: https://gerrit.libreoffice.org/64862 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sd/source/ui/sidebar/MasterPageContainer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd') diff --git a/sd/source/ui/sidebar/MasterPageContainer.cxx b/sd/source/ui/sidebar/MasterPageContainer.cxx index 2a58f3619ff0..b806a91661e6 100644 --- a/sd/source/ui/sidebar/MasterPageContainer.cxx +++ b/sd/source/ui/sidebar/MasterPageContainer.cxx @@ -913,7 +913,7 @@ void MasterPageContainer::Implementation::FireContainerChange ( MasterPageContainerChangeEvent::EventType eType, Token aToken) { - ::std::vector> aCopy(maChangeListeners.begin(),maChangeListeners.end()); + ::std::vector> aCopy(maChangeListeners); MasterPageContainerChangeEvent aEvent; aEvent.meEventType = eType; aEvent.maChildToken = aToken; -- cgit