[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - sfx2/source
Ashod Nakashian (via logerrit)
logerrit at kemper.freedesktop.org
Tue Dec 10 10:48:45 UTC 2019
sfx2/source/sidebar/SidebarController.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5ddad0c80efa15500e3259839e2eebcba2e8e241
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
AuthorDate: Mon Dec 9 18:38:57 2019 -0500
Commit: Ashod Nakashian <ashnakash at 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 <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at 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)
More information about the Libreoffice-commits
mailing list