sfx2/source/sidebar/SidebarController.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5ddad0c80efa15500e3259839e2eebcba2e8e241 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> AuthorDate: Mon Dec 9 18:38:57 2019 -0500 Commit: Ashod Nakashian <ashnak...@gmail.com> CommitDate: Tue Dec 10 11:48:10 2019 +0100 sfx2: don't move to allow copy elision on return Change-Id: Ib9bb512325f7fbccddf1adc456d7fa21a12a49d2 Reviewed-on: https://gerrit.libreoffice.org/84807 Reviewed-by: Ashod Nakashian <ashnak...@gmail.com> Tested-by: Ashod Nakashian <ashnak...@gmail.com> diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index a43ee91afdcd..4a7942b16453 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -1123,7 +1123,7 @@ SidebarController::CreatePopupMenu(const ::std::vector<TabBar::DeckMenuData>& rM pMenu->RemoveDisabledEntries(false); - return std::move(pMenu); + return pMenu; } IMPL_LINK(SidebarController, OnMenuItemSelected, Menu*, pMenu, bool) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits