helpcompiler/source/HelpLinker.cxx                   |    2 +-
 svx/source/sdr/primitive2d/sdrdecompositiontools.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 2df577b1a89d153da78b6c333e741082cf969086
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Mon Jun 13 18:46:45 2022 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Fri Jun 24 08:22:44 2022 +0200

    loplugin:moveit
    
    Change-Id: If1e6428285bdc5631cebc1acfcb850ac0df6d94d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136300
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/helpcompiler/source/HelpLinker.cxx 
b/helpcompiler/source/HelpLinker.cxx
index f7acc30ecc7d..e95b9168bf17 100644
--- a/helpcompiler/source/HelpLinker.cxx
+++ b/helpcompiler/source/HelpLinker.cxx
@@ -346,7 +346,7 @@ void HelpLinker::link()
                 xhpFile = fs::path(xhpFileName, fs::native);
             }
 
-            HelpCompiler hc( streamTable, xhpFile, langsourceRoot, zipdir,
+            HelpCompiler hc( streamTable, std::move(xhpFile), 
std::move(langsourceRoot), zipdir,
                 compactStylesheet, embeddStylesheet, module, lang, 
bExtensionMode );
 
             HCDBG(std::cerr << "before compile of " << xhpFileName << 
std::endl);
diff --git a/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx 
b/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx
index 04b6a16163a4..331fe74b99dc 100644
--- a/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx
+++ b/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx
@@ -294,7 +294,7 @@ void SlideBackgroundFillPrimitive2D::create2DDecomposition(
             // create MaskPrimitive2D to limit display to PolygonGeometry
             const Primitive2DReference aMasked(
                 new MaskPrimitive2D(
-                    aPolyPolygon,
+                    std::move(aPolyPolygon),
                     std::move(rContainer)));
 
             rContainer = Primitive2DContainer { aMasked };

Reply via email to