summaryrefslogtreecommitdiff
path: root/slideshow/source
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source')
-rw-r--r--slideshow/source/engine/shapes/backgroundshape.cxx2
-rw-r--r--slideshow/source/engine/slide/layermanager.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/engine/shapes/backgroundshape.cxx b/slideshow/source/engine/shapes/backgroundshape.cxx
index e3e3fb9ccc88..4afb48189e28 100644
--- a/slideshow/source/engine/shapes/backgroundshape.cxx
+++ b/slideshow/source/engine/shapes/backgroundshape.cxx
@@ -145,7 +145,7 @@ namespace slideshow::internal
xPropSet->getPropertyValue(u"Width"_ustr) >>= nDocWidth;
xPropSet->getPropertyValue(u"Height"_ustr) >>= nDocHeight;
- mpMtf = xMtf;
+ mpMtf = std::move(xMtf);
maBounds = ::basegfx::B2DRectangle( 0,0,nDocWidth, nDocHeight );
}
diff --git a/slideshow/source/engine/slide/layermanager.cxx b/slideshow/source/engine/slide/layermanager.cxx
index 4d722cb61e32..5857de99997d 100644
--- a/slideshow/source/engine/slide/layermanager.cxx
+++ b/slideshow/source/engine/slide/layermanager.cxx
@@ -55,7 +55,7 @@ namespace slideshow::internal
LayerSharedPtr pLayer = rShape.second.lock();
if( pLayer && pLayer != pCurrLayer )
{
- pCurrLayer = pLayer;
+ pCurrLayer = std::move(pLayer);
pCurrViewLayer = layerFunc(pCurrLayer);
}