diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-23 09:47:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-24 08:37:51 +0200 |
commit | f31c9f16fefd16ea434cdd68721d45bced9b78e1 (patch) | |
tree | c0c504cb4e4d41e168f7118c1baee6b4091aa51d /xmloff/source/draw/shapeexport.cxx | |
parent | 645db9a2643832e29dbdf904e1cf7b323d273f86 (diff) |
clang-tidy performance-unnecessary-copy-init in test..xmlscript
Change-Id: I1ae16467a8e58e8a50f59b7a140e9f8b68bde07e
Reviewed-on: https://gerrit.libreoffice.org/62254
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/draw/shapeexport.cxx')
-rw-r--r-- | xmloff/source/draw/shapeexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index b78d6c3b2f89..da1e94b26d49 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -2255,7 +2255,7 @@ void XMLShapeExport::ImpExportPolygonShape( if(!aPolyPolygon.areControlPointsUsed() && 1 == aPolyPolygon.count()) { // simple polygon shape, can be written as svg:points sequence - const basegfx::B2DPolygon aPolygon(aPolyPolygon.getB2DPolygon(0)); + const basegfx::B2DPolygon& aPolygon(aPolyPolygon.getB2DPolygon(0)); const OUString aPointString(basegfx::utils::exportToSvgPoints(aPolygon)); // write point array |