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:
parent
87132f2cea
commit
ff27aa2ca0
2 changed files with 2 additions and 2 deletions
|
@ -572,7 +572,7 @@ namespace slideshow::internal
|
||||||
DrawShapeSharedPtr pShape( new DrawShape(xShape,
|
DrawShapeSharedPtr pShape( new DrawShape(xShape,
|
||||||
xContainingPage,
|
xContainingPage,
|
||||||
nPrio,
|
nPrio,
|
||||||
pGraphic,
|
std::move(pGraphic),
|
||||||
rContext) );
|
rContext) );
|
||||||
|
|
||||||
if( pShape->hasIntrinsicAnimation() )
|
if( pShape->hasIntrinsicAnimation() )
|
||||||
|
|
|
@ -320,7 +320,7 @@ ShapeSharedPtr ShapeImporter::createShape(
|
||||||
return DrawShape::create( xCurrShape,
|
return DrawShape::create( xCurrShape,
|
||||||
mxPage,
|
mxPage,
|
||||||
mnAscendingPrio,
|
mnAscendingPrio,
|
||||||
pGraphic,
|
std::move(pGraphic),
|
||||||
mrContext );
|
mrContext );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue