diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-23 07:36:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-23 08:39:10 +0200 |
commit | 44688e498c9672f0a1759ead394f6d6e0f0ef5fd (patch) | |
tree | f2f1b33f882ced5c23c2854177c9b266c907ac56 /basegfx/source/polygon/b2dsvgpolypolygon.cxx | |
parent | b0c6d587405af9e2263dc5073a9a965db46ff986 (diff) |
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basegfx/source/polygon/b2dsvgpolypolygon.cxx')
-rw-r--r-- | basegfx/source/polygon/b2dsvgpolypolygon.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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) |