cid#1596694 COPY_INSTEAD_OF_MOVE

and

cid#1596695 COPY_INSTEAD_OF_MOVE

Change-Id: Id90f4da2edf45f7de324fdc9d910cfc3931fa60f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166889
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
Caolán McNamara 2024-04-30 08:40:00 +01:00
parent 87132f2cea
commit ff27aa2ca0
2 changed files with 2 additions and 2 deletions

View file

@ -572,7 +572,7 @@ namespace slideshow::internal
DrawShapeSharedPtr pShape( new DrawShape(xShape,
xContainingPage,
nPrio,
pGraphic,
std::move(pGraphic),
rContext) );
if( pShape->hasIntrinsicAnimation() )

View file

@ -320,7 +320,7 @@ ShapeSharedPtr ShapeImporter::createShape(
return DrawShape::create( xCurrShape,
mxPage,
mnAscendingPrio,
pGraphic,
std::move(pGraphic),
mrContext );
}
else