diff options
Diffstat (limited to 'drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx')
-rw-r--r-- | drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx b/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx index 4a22113bb8cd..94fb0f34a0d9 100644 --- a/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx +++ b/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx @@ -154,7 +154,7 @@ namespace drawinglayer for(a = 0; a < nCount; a++) { const sal_uInt32 nReducedCount(aReducedLoops.count()); - const basegfx::B3DPolygon aCandidate(aVerLine.getB3DPolygon(a)); + const basegfx::B3DPolygon& aCandidate(aVerLine.getB3DPolygon(a)); bool bAdd(true); if(nReducedCount) @@ -182,8 +182,8 @@ namespace drawinglayer for(sal_uInt32 b(1); b < nReducedCount; b++) { // get loop pair - const basegfx::B3DPolygon aCandA(aReducedLoops.getB3DPolygon(b - 1)); - const basegfx::B3DPolygon aCandB(aReducedLoops.getB3DPolygon(b)); + const basegfx::B3DPolygon& aCandA(aReducedLoops.getB3DPolygon(b - 1)); + const basegfx::B3DPolygon& aCandB(aReducedLoops.getB3DPolygon(b)); // for each loop pair create the connection edges createReducedOutlines( |