summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slideshow/source/engine/shapes/drawshape.cxx2
-rw-r--r--slideshow/source/engine/shapes/shapeimporter.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/engine/shapes/drawshape.cxx b/slideshow/source/engine/shapes/drawshape.cxx
index 8ec6a4c100a9..644d2c337b58 100644
--- a/slideshow/source/engine/shapes/drawshape.cxx
+++ b/slideshow/source/engine/shapes/drawshape.cxx
@@ -572,7 +572,7 @@ namespace slideshow::internal
DrawShapeSharedPtr pShape( new DrawShape(xShape,
xContainingPage,
nPrio,
- pGraphic,
+ std::move(pGraphic),
rContext) );
if( pShape->hasIntrinsicAnimation() )
diff --git a/slideshow/source/engine/shapes/shapeimporter.cxx b/slideshow/source/engine/shapes/shapeimporter.cxx
index 33cb42469d31..9872427046d0 100644
--- a/slideshow/source/engine/shapes/shapeimporter.cxx
+++ b/slideshow/source/engine/shapes/shapeimporter.cxx
@@ -320,7 +320,7 @@ ShapeSharedPtr ShapeImporter::createShape(
return DrawShape::create( xCurrShape,
mxPage,
mnAscendingPrio,
- pGraphic,
+ std::move(pGraphic),
mrContext );
}
else