summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/Outliner.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-10-10 14:13:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-10 19:45:34 +0200
commitfa311ad62f935d6469b77936d477125d98dbee60 (patch)
treed712ee8e0e16065923fefba70f433e760a6627b6 /sd/source/ui/view/Outliner.cxx
parent6af0da482d8d387f181cb9c2cf9301859c9683cb (diff)
loplugin:moveparam in svx
Change-Id: I2e422235129f810feea5c17afa1332d8b7ac14ed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123332 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/view/Outliner.cxx')
-rw-r--r--sd/source/ui/view/Outliner.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index 0ebe41c8e630..0f77f2070219 100644
--- a/sd/source/ui/view/Outliner.cxx
+++ b/sd/source/ui/view/Outliner.cxx
@@ -854,7 +854,7 @@ bool SdOutliner::SearchAndReplaceOnce(std::vector<sd::SearchSelection>* pSelecti
basegfx::B2DRectangle aSubSelection = getPDFSelection(rVectorGraphicSearchContext.mpVectorGraphicSearch, mpObj);
if (!aSubSelection.isEmpty())
aSubSelections.push_back(aSubSelection);
- mpView->MarkObj(mpObj, pPageView, false, false, aSubSelections);
+ mpView->MarkObj(mpObj, pPageView, false, false, std::move(aSubSelections));
}
else
{
@@ -1276,7 +1276,7 @@ void SdOutliner::ProvideNextTextObject()
if (!aSubSelection.isEmpty())
aSubSelections.push_back(aSubSelection);
- mpView->MarkObj(mpObj, pPageView, false, false, aSubSelections);
+ mpView->MarkObj(mpObj, pPageView, false, false, std::move(aSubSelections));
mpDrawDocument->GetDocSh()->SetWaitCursor( false );
}