From 1b61a652c1e19ff0ce2765e374fb179189235926 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 2 Aug 2024 19:51:40 +0100 Subject: cid#1556583 COPY_INSTEAD_OF_MOVE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and cid#1556585 COPY_INSTEAD_OF_MOVE cid#1556588 COPY_INSTEAD_OF_MOVE cid#1556593 COPY_INSTEAD_OF_MOVE cid#1556597 COPY_INSTEAD_OF_MOVE cid#1556605 COPY_INSTEAD_OF_MOVE cid#1556617 COPY_INSTEAD_OF_MOVE cid#1556635 COPY_INSTEAD_OF_MOVE cid#1556790 COPY_INSTEAD_OF_MOVE cid#1556792 COPY_INSTEAD_OF_MOVE cid#1556796 COPY_INSTEAD_OF_MOVE cid#1556799 COPY_INSTEAD_OF_MOVE cid#1556815 COPY_INSTEAD_OF_MOVE cid#1556836 COPY_INSTEAD_OF_MOVE cid#1556840 COPY_INSTEAD_OF_MOVE cid#1556842 COPY_INSTEAD_OF_MOVE cid#1556859 COPY_INSTEAD_OF_MOVE cid#1556860 COPY_INSTEAD_OF_MOVE cid#1556866 COPY_INSTEAD_OF_MOVE cid#1556869 COPY_INSTEAD_OF_MOVE cid#1556870 COPY_INSTEAD_OF_MOVE Change-Id: I3df8698a4aecbb03999c084517e37e12ff46ee97 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171435 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- svx/source/engine3d/dragmt3d.cxx | 2 +- svx/source/engine3d/extrud3d.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'svx') diff --git a/svx/source/engine3d/dragmt3d.cxx b/svx/source/engine3d/dragmt3d.cxx index 2c5147321ae6..cfc3dedf67ca 100644 --- a/svx/source/engine3d/dragmt3d.cxx +++ b/svx/source/engine3d/dragmt3d.cxx @@ -703,7 +703,7 @@ void E3dDragMove::MoveSdrDrag(const Point& rPnt) aNewTrans *= rCandidate.maInvDisplayTransform; // ...and apply - rCandidate.maTransform = aNewTrans; + rCandidate.maTransform = std::move(aNewTrans); if(mbMoveFull) { diff --git a/svx/source/engine3d/extrud3d.cxx b/svx/source/engine3d/extrud3d.cxx index c268bec20baa..fa9b73e02797 100644 --- a/svx/source/engine3d/extrud3d.cxx +++ b/svx/source/engine3d/extrud3d.cxx @@ -176,7 +176,7 @@ rtl::Reference E3dExtrudeObj::GetBreakObj() if(aFrontSide.count()) { - aBackSide = aFrontSide; + aBackSide = std::move(aFrontSide); if(GetExtrudeDepth()) { -- cgit v1.2.3