diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-25 14:08:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-25 21:46:32 +0200 |
commit | ff3bdde2527123fc9e011ff0d93e958174632186 (patch) | |
tree | 07d86dceca57fc1c85ad208fb436d70ac7e648ab /include/basegfx | |
parent | 305285bd1450bb847058a877b0dc2adface4e521 (diff) |
loplugin:passstuffbyref
Change-Id: I785e96599bbda029adf4698d11d7f981750dec07
Reviewed-on: https://gerrit.libreoffice.org/54802
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/b3dpolygon.hxx | 8 | ||||
-rw-r--r-- | include/basegfx/polygon/b3dpolypolygon.hxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/basegfx/polygon/b3dpolygon.hxx b/include/basegfx/polygon/b3dpolygon.hxx index 1d3dd515b757..47eefd498597 100644 --- a/include/basegfx/polygon/b3dpolygon.hxx +++ b/include/basegfx/polygon/b3dpolygon.hxx @@ -66,28 +66,28 @@ namespace basegfx sal_uInt32 count() const; // Coordinate interface - B3DPoint getB3DPoint(sal_uInt32 nIndex) const; + B3DPoint const & getB3DPoint(sal_uInt32 nIndex) const; void setB3DPoint(sal_uInt32 nIndex, const B3DPoint& rValue); // Coordinate append void append(const B3DPoint& rPoint, sal_uInt32 nCount = 1); // BColor interface - BColor getBColor(sal_uInt32 nIndex) const; + BColor const & getBColor(sal_uInt32 nIndex) const; void setBColor(sal_uInt32 nIndex, const BColor& rValue); bool areBColorsUsed() const; void clearBColors(); // Normals interface B3DVector const & getNormal() const; // plane normal - B3DVector getNormal(sal_uInt32 nIndex) const; // normal in each point + B3DVector const & getNormal(sal_uInt32 nIndex) const; // normal in each point void setNormal(sal_uInt32 nIndex, const B3DVector& rValue); void transformNormals(const B3DHomMatrix& rMatrix); bool areNormalsUsed() const; void clearNormals(); // TextureCoordinate interface - B2DPoint getTextureCoordinate(sal_uInt32 nIndex) const; + B2DPoint const & getTextureCoordinate(sal_uInt32 nIndex) const; void setTextureCoordinate(sal_uInt32 nIndex, const B2DPoint& rValue); void transformTextureCoordinates(const B2DHomMatrix& rMatrix); bool areTextureCoordinatesUsed() const; diff --git a/include/basegfx/polygon/b3dpolypolygon.hxx b/include/basegfx/polygon/b3dpolypolygon.hxx index ebab91a44ce2..ce659148c72a 100644 --- a/include/basegfx/polygon/b3dpolypolygon.hxx +++ b/include/basegfx/polygon/b3dpolypolygon.hxx @@ -62,7 +62,7 @@ namespace basegfx sal_uInt32 count() const; // B3DPolygon interface - B3DPolygon getB3DPolygon(sal_uInt32 nIndex) const; + B3DPolygon const & getB3DPolygon(sal_uInt32 nIndex) const; void setB3DPolygon(sal_uInt32 nIndex, const B3DPolygon& rPolygon); // BColor interface |