diff options
Diffstat (limited to 'sd/source/ui/func/fumorph.cxx')
-rw-r--r-- | sd/source/ui/func/fumorph.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/func/fumorph.cxx b/sd/source/ui/func/fumorph.cxx index 2390e16eb828..7604ab825a6e 100644 --- a/sd/source/ui/func/fumorph.cxx +++ b/sd/source/ui/func/fumorph.cxx @@ -302,7 +302,7 @@ void FuMorph::ImpAddPolys( { while(rSmaller.count() < rBigger.count()) { - const ::basegfx::B2DPolygon aToBeCopied(rBigger.getB2DPolygon(rSmaller.count())); + const ::basegfx::B2DPolygon& aToBeCopied(rBigger.getB2DPolygon(rSmaller.count())); const ::basegfx::B2DRange aToBeCopiedPolySize(::basegfx::utils::getRange(aToBeCopied)); ::basegfx::B2DPoint aNewPoint(aToBeCopiedPolySize.getCenter()); ::basegfx::B2DPolygon aNewPoly; @@ -457,8 +457,8 @@ void FuMorph::ImpInsertPolygons( for(sal_uInt32 a(0); a < rPolyPolyStart.count(); a++) { - const ::basegfx::B2DPolygon aPolyStart(rPolyPolyStart.getB2DPolygon(a)); - const ::basegfx::B2DPolygon aPolyEnd(rPolyPolyEnd.getB2DPolygon(a)); + const ::basegfx::B2DPolygon& aPolyStart(rPolyPolyStart.getB2DPolygon(a)); + const ::basegfx::B2DPolygon& aPolyEnd(rPolyPolyEnd.getB2DPolygon(a)); const sal_uInt32 nCount(aPolyStart.count()); ::basegfx::B2DPolygon aNewPolygon; |