diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-23 18:35:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-24 07:01:47 +0100 |
commit | 6028b64e27dc45f20aa4a4e0adbef1c03e91a79b (patch) | |
tree | fcdba02b18bc9081371b91681fcb898697155af6 /include/basegfx | |
parent | 92bab0f11e0a93005bfd13db3a0552ecaf082ecb (diff) |
loplugin:passstuffbyref even more return improvements
Change-Id: I2a752025cd429e4d271626402dce5d8a8b0c76d2
Reviewed-on: https://gerrit.libreoffice.org/47021
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/basegfx')
-rw-r--r-- | include/basegfx/polygon/b2dpolygon.hxx | 6 | ||||
-rw-r--r-- | include/basegfx/polygon/b2dpolypolygon.hxx | 2 | ||||
-rw-r--r-- | include/basegfx/utils/b2dclipstate.hxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/include/basegfx/polygon/b2dpolygon.hxx b/include/basegfx/polygon/b2dpolygon.hxx index 703f24548975..714d2a1fd10d 100644 --- a/include/basegfx/polygon/b2dpolygon.hxx +++ b/include/basegfx/polygon/b2dpolygon.hxx @@ -75,7 +75,7 @@ namespace basegfx sal_uInt32 count() const; /// Coordinate interface - basegfx::B2DPoint getB2DPoint(sal_uInt32 nIndex) const; + basegfx::B2DPoint const & getB2DPoint(sal_uInt32 nIndex) const; void setB2DPoint(sal_uInt32 nIndex, const basegfx::B2DPoint& rValue); /// Coordinate insert/append @@ -149,7 +149,7 @@ namespace basegfx be this polygon itself when it has no bezier segments. It is guaranteed to have no more bezier segments */ - B2DPolygon getDefaultAdaptiveSubdivision() const; + B2DPolygon const & getDefaultAdaptiveSubdivision() const; /** Get the B2DRange (Rectangle dimensions) of this B2DPolygon @@ -178,7 +178,7 @@ namespace basegfx @return The outer range of the bezier curve/polygon */ - B2DRange getB2DRange() const; + B2DRange const & getB2DRange() const; /** append other 2D polygons diff --git a/include/basegfx/polygon/b2dpolypolygon.hxx b/include/basegfx/polygon/b2dpolypolygon.hxx index ddc05a669ceb..fff49fb86c45 100644 --- a/include/basegfx/polygon/b2dpolypolygon.hxx +++ b/include/basegfx/polygon/b2dpolypolygon.hxx @@ -67,7 +67,7 @@ namespace basegfx // polygon interface sal_uInt32 count() const; - B2DPolygon getB2DPolygon(sal_uInt32 nIndex) const; + B2DPolygon const & getB2DPolygon(sal_uInt32 nIndex) const; void setB2DPolygon(sal_uInt32 nIndex, const B2DPolygon& rPolygon); // test for curve diff --git a/include/basegfx/utils/b2dclipstate.hxx b/include/basegfx/utils/b2dclipstate.hxx index 5c3f615284ca..a6d12ba41d7b 100644 --- a/include/basegfx/utils/b2dclipstate.hxx +++ b/include/basegfx/utils/b2dclipstate.hxx @@ -88,7 +88,7 @@ namespace basegfx void transform(const B2DHomMatrix& ); - B2DPolyPolygon getClipPoly() const; + B2DPolyPolygon const & getClipPoly() const; }; } } |