summaryrefslogtreecommitdiffstats
path: root/basegfx/source/polygon/b2dpolygontriangulator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx/source/polygon/b2dpolygontriangulator.cxx')
-rw-r--r--basegfx/source/polygon/b2dpolygontriangulator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basegfx/source/polygon/b2dpolygontriangulator.cxx b/basegfx/source/polygon/b2dpolygontriangulator.cxx
index a7041e2053fc..ed58d2f03d27 100644
--- a/basegfx/source/polygon/b2dpolygontriangulator.cxx
+++ b/basegfx/source/polygon/b2dpolygontriangulator.cxx
@@ -220,7 +220,7 @@ namespace basegfx
{
for(sal_uInt32 a(0); a < rCandidate.count(); a++)
{
- const B2DPolygon aPolygonCandidate(rCandidate.getB2DPolygon(a));
+ const B2DPolygon& aPolygonCandidate(rCandidate.getB2DPolygon(a));
const sal_uInt32 nCount(aPolygonCandidate.count());
if(nCount > 2)
@@ -419,7 +419,7 @@ namespace basegfx
if(aCandidate.count() == 1)
{
// single polygon -> single polygon triangulation
- const B2DPolygon aSinglePolygon(aCandidate.getB2DPolygon(0));
+ const B2DPolygon& aSinglePolygon(aCandidate.getB2DPolygon(0));
aRetval = triangulate(aSinglePolygon);
}