diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-08-13 19:46:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-08-13 21:53:15 +0200 |
commit | e0e49a0ab061bb46d580fdeddfd2b70951029701 (patch) | |
tree | 16c27c9b477f5a236e4ffec6bb847e1bb901e6fe /sd | |
parent | ef1eedc76bf8ad0d34a76645e46823d70dd9f59b (diff) |
cid#1557699 COPY_INSTEAD_OF_MOVE
and
cid#1557696 COPY_INSTEAD_OF_MOVE
cid#1557695 COPY_INSTEAD_OF_MOVE
cid#1557690 COPY_INSTEAD_OF_MOVE
cid#1557671 COPY_INSTEAD_OF_MOVE
cid#1557661 COPY_INSTEAD_OF_MOVE
cid#1557626 COPY_INSTEAD_OF_MOVE
cid#1557624 COPY_INSTEAD_OF_MOVE
cid#1557622 COPY_INSTEAD_OF_MOVE
cid#1557618 COPY_INSTEAD_OF_MOVE
cid#1557617 COPY_INSTEAD_OF_MOVE
cid#1557607 COPY_INSTEAD_OF_MOVE
cid#1557559 COPY_INSTEAD_OF_MOVE
cid#1557538 COPY_INSTEAD_OF_MOVE
Change-Id: I8bcd61f21e6b5284d641ff8c6bd09008c2458baf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171837
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/func/fuconrec.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/controller/SlsPageSelector.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/func/fuconrec.cxx b/sd/source/ui/func/fuconrec.cxx index 1c0557705c6c..88a81a7e34fd 100644 --- a/sd/source/ui/func/fuconrec.cxx +++ b/sd/source/ui/func/fuconrec.cxx @@ -833,7 +833,7 @@ void FuConstructRectangle::SetLineEnds(SfxItemSet& rAttr, SdrObject const & rObj case SID_LINE_CIRCLE_ARROW: { // circle start - rAttr.Put(XLineStartItem(SvxResId(RID_SVXSTR_CIRCLE), aCircle)); + rAttr.Put(XLineStartItem(SvxResId(RID_SVXSTR_CIRCLE), std::move(aCircle))); rAttr.Put(XLineStartWidthItem(nWidth)); } break; diff --git a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx index eac289090ae3..9f24d4813ac5 100644 --- a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx +++ b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx @@ -308,7 +308,7 @@ void PageSelector::UpdateCurrentPage (const bool bUpdateOnlyWhenPending) continue; if (pDescriptor->HasState(PageDescriptor::ST_Selected)) { - pCurrentPageDescriptor = pDescriptor; + pCurrentPageDescriptor = std::move(pDescriptor); break; } } |