loplugin:moveit

Change-Id: If1e6428285bdc5631cebc1acfcb850ac0df6d94d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136300
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin 2022-06-13 18:46:45 +02:00
parent adc536e9ef
commit 2df577b1a8
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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 };