From 2d009c405714934ae5f95f4131510cb4e9c2493f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 14 Jul 2022 09:44:20 +0200 Subject: loplugin:moveit Change-Id: I2702e716dc669ffbb870d36d060e110288d7a744 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137043 Tested-by: Jenkins Reviewed-by: Noel Grandin --- emfio/source/reader/mtftools.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emfio') diff --git a/emfio/source/reader/mtftools.cxx b/emfio/source/reader/mtftools.cxx index 85429a50152e..69830001bc99 100644 --- a/emfio/source/reader/mtftools.cxx +++ b/emfio/source/reader/mtftools.cxx @@ -911,7 +911,7 @@ namespace emfio Point aPoint( aPoly[ 0 ] ); aPoly.Insert( nCount, aPoint ); } - mpGDIMetaFile->AddAction( new MetaPolygonAction( aPoly ) ); + mpGDIMetaFile->AddAction( new MetaPolygonAction( std::move(aPoly) ) ); } } } -- cgit