summaryrefslogtreecommitdiffstats
path: root/basegfx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/source/polygon/b2dpolygon.cxx6
-rw-r--r--basegfx/source/polygon/b2dpolypolygon.cxx2
-rw-r--r--basegfx/source/tools/b2dclipstate.cxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/basegfx/source/polygon/b2dpolygon.cxx b/basegfx/source/polygon/b2dpolygon.cxx
index 17df4c4b3738..601f493c27b4 100644
--- a/basegfx/source/polygon/b2dpolygon.cxx
+++ b/basegfx/source/polygon/b2dpolygon.cxx
@@ -1175,7 +1175,7 @@ namespace basegfx
return mpPolygon->count();
}
- B2DPoint B2DPolygon::getB2DPoint(sal_uInt32 nIndex) const
+ B2DPoint const & B2DPolygon::getB2DPoint(sal_uInt32 nIndex) const
{
OSL_ENSURE(nIndex < mpPolygon->count(), "B2DPolygon access outside range (!)");
@@ -1399,12 +1399,12 @@ namespace basegfx
}
}
- B2DPolygon B2DPolygon::getDefaultAdaptiveSubdivision() const
+ B2DPolygon const & B2DPolygon::getDefaultAdaptiveSubdivision() const
{
return mpPolygon->getDefaultAdaptiveSubdivision(*this);
}
- B2DRange B2DPolygon::getB2DRange() const
+ B2DRange const & B2DPolygon::getB2DRange() const
{
return mpPolygon->getB2DRange(*this);
}
diff --git a/basegfx/source/polygon/b2dpolypolygon.cxx b/basegfx/source/polygon/b2dpolypolygon.cxx
index 977adde32d7f..b0a51d46a3a7 100644
--- a/basegfx/source/polygon/b2dpolypolygon.cxx
+++ b/basegfx/source/polygon/b2dpolypolygon.cxx
@@ -230,7 +230,7 @@ namespace basegfx
return mpPolyPolygon->count();
}
- B2DPolygon B2DPolyPolygon::getB2DPolygon(sal_uInt32 nIndex) const
+ B2DPolygon const & B2DPolyPolygon::getB2DPolygon(sal_uInt32 nIndex) const
{
OSL_ENSURE(nIndex < mpPolyPolygon->count(), "B2DPolyPolygon access outside range (!)");
diff --git a/basegfx/source/tools/b2dclipstate.cxx b/basegfx/source/tools/b2dclipstate.cxx
index cf848f1af1c2..cff66f93faf9 100644
--- a/basegfx/source/tools/b2dclipstate.cxx
+++ b/basegfx/source/tools/b2dclipstate.cxx
@@ -482,7 +482,7 @@ namespace utils
mpImpl->xorPolyPolygon(rPolyPoly);
}
- B2DPolyPolygon B2DClipState::getClipPoly() const
+ B2DPolyPolygon const & B2DClipState::getClipPoly() const
{
return mpImpl->getClipPoly();
}