summaryrefslogtreecommitdiff
path: root/cppcanvas/source/wrapper/implpolypolygon.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppcanvas/source/wrapper/implpolypolygon.cxx')
-rw-r--r--cppcanvas/source/wrapper/implpolypolygon.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/cppcanvas/source/wrapper/implpolypolygon.cxx b/cppcanvas/source/wrapper/implpolypolygon.cxx
index 182bf6b47f42..536bfa60a53b 100644
--- a/cppcanvas/source/wrapper/implpolypolygon.cxx
+++ b/cppcanvas/source/wrapper/implpolypolygon.cxx
@@ -27,6 +27,7 @@
#include "implpolypolygon.hxx"
#include <tools.hxx>
+#include <utility>
using namespace ::com::sun::star;
@@ -35,9 +36,9 @@ using namespace ::com::sun::star;
namespace cppcanvas::internal
{
ImplPolyPolygon::ImplPolyPolygon( const CanvasSharedPtr& rParentCanvas,
- const uno::Reference< rendering::XPolyPolygon2D >& rPolyPoly ) :
+ uno::Reference< rendering::XPolyPolygon2D > xPolyPoly ) :
CanvasGraphicHelper( rParentCanvas ),
- mxPolyPoly( rPolyPoly ),
+ mxPolyPoly(std::move( xPolyPoly )),
maStrokeAttributes(1.0,
10.0,
uno::Sequence< double >(),