diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-06-14 14:46:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-06-15 09:24:47 +0200 |
commit | dcb36da2950ad967ad3f633ca12353da98ac620b (patch) | |
tree | c855b0c64b9ab4218d833749aa4b425bf5af749d /include/drawinglayer/primitive3d/polygonprimitive3d.hxx | |
parent | 2da1cdd31312a70f205f29bb4dfcbc1771409aa4 (diff) |
clang-tidy modernize-pass-by-value in drawinglayer
Change-Id: I8a3245c6a4d687edbc95cf28b2932d80c86a7b65
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135828
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/drawinglayer/primitive3d/polygonprimitive3d.hxx')
-rw-r--r-- | include/drawinglayer/primitive3d/polygonprimitive3d.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/drawinglayer/primitive3d/polygonprimitive3d.hxx b/include/drawinglayer/primitive3d/polygonprimitive3d.hxx index 76f4a8fe7b39..a414cd27d472 100644 --- a/include/drawinglayer/primitive3d/polygonprimitive3d.hxx +++ b/include/drawinglayer/primitive3d/polygonprimitive3d.hxx @@ -51,7 +51,7 @@ namespace drawinglayer::primitive3d public: /// constructor PolygonHairlinePrimitive3D( - const basegfx::B3DPolygon& rPolygon, + basegfx::B3DPolygon aPolygon, const basegfx::BColor& rBColor); /// data read access @@ -97,9 +97,9 @@ namespace drawinglayer::primitive3d public: /// constructor PolygonStrokePrimitive3D( - const basegfx::B3DPolygon& rPolygon, + basegfx::B3DPolygon aPolygon, const attribute::LineAttribute& rLineAttribute, - const attribute::StrokeAttribute& rStrokeAttribute); + attribute::StrokeAttribute aStrokeAttribute); /// data read access const basegfx::B3DPolygon& getB3DPolygon() const { return maPolygon; } |