diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-11 12:48:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-11 14:57:08 +0200 |
commit | 433492d50a1db601b0c2b7e375cead5f59910a31 (patch) | |
tree | b2b3d882d6e00fefa9584bc0fd1720de7488f184 /sfx2/source/sidebar/SidebarController.cxx | |
parent | dc328fdfa709929377de2be5f86f2e811a5eaa21 (diff) |
loplugin:moveparam in sfx2
Change-Id: I5408e47d6e2179bc34170c1728aa16e327ffbe56
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123380
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/sidebar/SidebarController.cxx')
-rw-r--r-- | sfx2/source/sidebar/SidebarController.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index d1245bc489a2..279b602cb2a6 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -787,7 +787,7 @@ void SidebarController::CreatePanels(std::u16string_view rDeckId, const Context& // mpCurrentPanels - may miss stuff (?) aNewPanels.resize(nWriteIndex); - pDeck->ResetPanels(aNewPanels); + pDeck->ResetPanels(std::move(aNewPanels)); } void SidebarController::SwitchToDeck ( |