sfx2/source/sidebar/SidebarController.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 441300d5782caf9874cb1f37bdece160e041adbb Author: Ashod Nakashian <[email protected]> AuthorDate: Thu Nov 29 07:05:52 2018 -0500 Commit: Andras Timar <[email protected]> CommitDate: Mon Mar 4 15:19:00 2019 +0100 sfx: fix -Wreturn-std-move warning Change-Id: Ibd927983505a6924d32c45f6425a08f28bf75f9e Reviewed-on: https://gerrit.libreoffice.org/68259 Reviewed-by: Andras Timar <[email protected]> Tested-by: Andras Timar <[email protected]> diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index 78efa83ed087..70725c46bc86 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -1010,7 +1010,7 @@ VclPtr<PopupMenu> SidebarController::CreatePopupMenu ( pMenu->RemoveDisabledEntries(false); - return pMenu; + return std::move(pMenu); } IMPL_LINK(SidebarController, OnMenuItemSelected, Menu*, pMenu, bool) _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
