summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/source/polygon/b2dpolygontools.cxx6
-rw-r--r--basegfx/source/polygon/b3dpolypolygontools.cxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx
index 489b77af92aa..e0a4721505ba 100644
--- a/basegfx/source/polygon/b2dpolygontools.cxx
+++ b/basegfx/source/polygon/b2dpolygontools.cxx
@@ -1645,7 +1645,7 @@ namespace basegfx
};
}
- B2DPolygon createUnitPolygon()
+ B2DPolygon const & createUnitPolygon()
{
return theUnitPolygon::get();
}
@@ -1719,7 +1719,7 @@ namespace basegfx
};
}
- B2DPolygon createHalfUnitCircle()
+ B2DPolygon const & createHalfUnitCircle()
{
return theUnitHalfCircle::get();
}
@@ -1751,7 +1751,7 @@ namespace basegfx
};
}
- B2DPolygon createPolygonFromUnitCircle(sal_uInt32 nStartQuadrant)
+ B2DPolygon const & createPolygonFromUnitCircle(sal_uInt32 nStartQuadrant)
{
switch(nStartQuadrant % 4)
{
diff --git a/basegfx/source/polygon/b3dpolypolygontools.cxx b/basegfx/source/polygon/b3dpolypolygontools.cxx
index d3ae28120e29..9c79bc14bc1f 100644
--- a/basegfx/source/polygon/b3dpolypolygontools.cxx
+++ b/basegfx/source/polygon/b3dpolypolygontools.cxx
@@ -100,7 +100,7 @@ namespace basegfx
};
}
- B3DPolyPolygon createUnitCubePolyPolygon()
+ B3DPolyPolygon const & createUnitCubePolyPolygon()
{
return theUnitCubePolyPolygon::get();
}
@@ -182,7 +182,7 @@ namespace basegfx
};
}
- B3DPolyPolygon createUnitCubeFillPolyPolygon()
+ B3DPolyPolygon const & createUnitCubeFillPolyPolygon()
{
return theUnitCubeFillPolyPolygon::get();
}