diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-10 12:22:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-10 15:08:43 +0100 |
commit | fb38c6d5e0eb4093cf9612f18d22811812adab17 (patch) | |
tree | 6394885051f1734c0a0e5c9f8da662de90724784 /sd | |
parent | e949621d06a31dc727db96824779630cc7b579f9 (diff) |
simplify some copy construction
Change-Id: Icc20ae913052a7ae96c0722a458d75bbb5eef1cd
Reviewed-on: https://gerrit.libreoffice.org/64862
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/sidebar/MasterPageContainer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<Link<MasterPageContainerChangeEvent&,void>> aCopy(maChangeListeners.begin(),maChangeListeners.end()); + ::std::vector<Link<MasterPageContainerChangeEvent&,void>> aCopy(maChangeListeners); MasterPageContainerChangeEvent aEvent; aEvent.meEventType = eType; aEvent.maChildToken = aToken; |