summaryrefslogtreecommitdiff
path: root/include/basegfx
diff options
context:
space:
mode:
Diffstat (limited to 'include/basegfx')
-rw-r--r--include/basegfx/polygon/b2dpolygon.hxx6
-rw-r--r--include/basegfx/polygon/b2dpolypolygon.hxx2
-rw-r--r--include/basegfx/utils/b2dclipstate.hxx2
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;
};
}
}