From 44688e498c9672f0a1759ead394f6d6e0f0ef5fd Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 23 Oct 2018 07:36:33 +0200 Subject: clang-tidy performance-unnecessary-copy-initialization in basctl..basic Change-Id: I4009282869cd8a2f269093564bd4fafccab80ec3 Reviewed-on: https://gerrit.libreoffice.org/62212 Tested-by: Jenkins Reviewed-by: Noel Grandin --- basegfx/source/polygon/b2dsvgpolypolygon.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'basegfx/source/polygon/b2dsvgpolypolygon.cxx') diff --git a/basegfx/source/polygon/b2dsvgpolypolygon.cxx b/basegfx/source/polygon/b2dsvgpolypolygon.cxx index 2a195641d5f0..7906704e76e3 100644 --- a/basegfx/source/polygon/b2dsvgpolypolygon.cxx +++ b/basegfx/source/polygon/b2dsvgpolypolygon.cxx @@ -733,7 +733,7 @@ namespace basegfx for(sal_uInt32 i(0); i < nCount; i++) { - const B2DPolygon aPolygon(rPolyPolygon.getB2DPolygon(i)); + const B2DPolygon& aPolygon(rPolyPolygon.getB2DPolygon(i)); const sal_uInt32 nPointCount(aPolygon.count()); if(nPointCount) -- cgit