summaryrefslogtreecommitdiff
path: root/oox/source/drawingml
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-12 13:12:05 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-14 09:27:19 +0200
commit437412d79b6b628ab28f15ccdc7aa95fc84cb3c1 (patch)
tree8fc9be705c8d21908d8d0b2eebff3810141301c6 /oox/source/drawingml
parentaabb5be81a066c70142e9c15e64ebfbed9994e3c (diff)
cid#1557980 COPY_INSTEAD_OF_MOVE
and cid#1557869 COPY_INSTEAD_OF_MOVE cid#1557807 COPY_INSTEAD_OF_MOVE cid#1557804 COPY_INSTEAD_OF_MOVE cid#1557799 COPY_INSTEAD_OF_MOVE cid#1557781 COPY_INSTEAD_OF_MOVE cid#1557781 COPY_INSTEAD_OF_MOVE cid#1557766 COPY_INSTEAD_OF_MOVE cid#1557746 COPY_INSTEAD_OF_MOVE cid#1557737 COPY_INSTEAD_OF_MOVE Change-Id: I1866c576f525ea697c62e9e0a96890e5fdaa780f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171795 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'oox/source/drawingml')
-rw-r--r--oox/source/drawingml/diagram/layoutatomvisitors.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/diagram/layoutatomvisitors.cxx b/oox/source/drawingml/diagram/layoutatomvisitors.cxx
index 1b06fad37fc6..96cbd738ea66 100644
--- a/oox/source/drawingml/diagram/layoutatomvisitors.cxx
+++ b/oox/source/drawingml/diagram/layoutatomvisitors.cxx
@@ -104,7 +104,7 @@ void ShapeCreationVisitor::visit(LayoutNode& rAtom)
xCurrParent->addChild(pShape);
xCurrParent = pShape;
rAtom.addNodeShape(pShape);
- mrDgm.getLayout()->getPresPointShapeMap()[pNewNode] = pShape;
+ mrDgm.getLayout()->getPresPointShapeMap()[pNewNode] = std::move(pShape);
}
}
else