summaryrefslogtreecommitdiff
path: root/sd/source/ui/animations
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-02 08:53:15 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-02 17:27:10 +0200
commit7f9f32aa11852e8ea9588f6fbe3416484cadd229 (patch)
treed883ddaefc50a5d8c0cb03315f45d79371b370f7 /sd/source/ui/animations
parentf29d94c7b1bf9bee3e3598d90ba6e9dfd684ecfc (diff)
cid#1556472 COPY_INSTEAD_OF_MOVE
and cid#1556481 COPY_INSTEAD_OF_MOVE cid#1556486 COPY_INSTEAD_OF_MOVE cid#1556491 COPY_INSTEAD_OF_MOVE cid#1556507 COPY_INSTEAD_OF_MOVE cid#1556515 COPY_INSTEAD_OF_MOVE cid#1556518 COPY_INSTEAD_OF_MOVE cid#1556519 COPY_INSTEAD_OF_MOVE cid#1556533 COPY_INSTEAD_OF_MOVE cid#1556536 COPY_INSTEAD_OF_MOVE cid#1556559 COPY_INSTEAD_OF_MOVE cid#1556577 COPY_INSTEAD_OF_MOVE cid#1556581 COPY_INSTEAD_OF_MOVE Change-Id: I2ad2f2194e2a89c7246e8742b2fc8be7580e38c3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171394 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sd/source/ui/animations')
-rw-r--r--sd/source/ui/animations/motionpathtag.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/animations/motionpathtag.cxx b/sd/source/ui/animations/motionpathtag.cxx
index 503ab57c0b5e..7a43fe07f54a 100644
--- a/sd/source/ui/animations/motionpathtag.cxx
+++ b/sd/source/ui/animations/motionpathtag.cxx
@@ -527,12 +527,12 @@ bool MotionPathTag::MouseButtonDown( const MouseEvent& rMEvt, SmartHdl& rHdl )
if( (pHdl->GetKind() == SdrHdlKind::Move) || (pHdl->GetKind() == SdrHdlKind::SmartTag) )
{
- pDragMethod = new PathDragMove( mrView, xTag, aDragPoly );
+ pDragMethod = new PathDragMove( mrView, xTag, std::move(aDragPoly) );
pHdl->SetPos( aMDPos );
}
else if( pHdl->GetKind() == SdrHdlKind::Poly )
{
- pDragMethod = new PathDragObjOwn( mrView, aDragPoly );
+ pDragMethod = new PathDragObjOwn( mrView, std::move(aDragPoly) );
}
else
{