diff options
author | Armin Weiss <aw@openoffice.org> | 2008-06-26 15:21:48 +0000 |
---|---|---|
committer | Armin Weiss <aw@openoffice.org> | 2008-06-26 15:21:48 +0000 |
commit | 77b9f5996d708d29f5eee1cdb6c163919e62b44c (patch) | |
tree | 373d6f6c44ac236f7e926d47cb315bdd58bb1980 /drawinglayer | |
parent | 04e00997c279f044bca953a3e2a5a5e794cf06fb (diff) |
corrections after resync
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx | 6 | ||||
-rw-r--r-- | drawinglayer/source/processor2d/vclpixelprocessor2d.cxx | 10 |
2 files changed, 7 insertions, 9 deletions
diff --git a/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx b/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx index 5d6bf6b42e..5403c30846 100644 --- a/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx +++ b/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx @@ -4,9 +4,9 @@ * * $RCSfile: sdrextrudeprimitive3d.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: aw $ $Date: 2008-06-24 15:31:08 $ + * last change: $Author: aw $ $Date: 2008-06-26 16:21:48 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -208,8 +208,6 @@ namespace drawinglayer if(nReducedCount) { - bool bAdd(true); - for(sal_uInt32 b(0); bAdd && b < nReducedCount; b++) { if(aCandidate == aReducedLoops.getB3DPolygon(b)) diff --git a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx index d15d9b9eef..82eed97601 100644 --- a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx @@ -4,9 +4,9 @@ * * $RCSfile: vclpixelprocessor2d.cxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: aw $ $Date: 2008-06-24 15:31:09 $ + * last change: $Author: aw $ $Date: 2008-06-26 16:21:48 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -79,11 +79,11 @@ namespace drawinglayer // react on AntiAliasing settings if(getOptionsDrawinglayer().IsAntiAliasing()) { - mpOutputDevice->SetAntialiasing(mpOutputDevice->GetAntialiasing() & ~ANTIALIASING_DISABLE_POLYGONS); + mpOutputDevice->SetAntialiasing(mpOutputDevice->GetAntialiasing() | ANTIALIASING_ENABLE_B2DDRAW); } else { - mpOutputDevice->SetAntialiasing(mpOutputDevice->GetAntialiasing() | ANTIALIASING_DISABLE_POLYGONS); + mpOutputDevice->SetAntialiasing(mpOutputDevice->GetAntialiasing() & ~ANTIALIASING_ENABLE_B2DDRAW); } } @@ -93,7 +93,7 @@ namespace drawinglayer mpOutputDevice->Pop(); // restore AntiAliasing - mpOutputDevice->SetAntialiasing(mpOutputDevice->GetAntialiasing() | ANTIALIASING_DISABLE_POLYGONS); + mpOutputDevice->SetAntialiasing(mpOutputDevice->GetAntialiasing() & ~ANTIALIASING_ENABLE_B2DDRAW); } void VclPixelProcessor2D::processBasePrimitive2D(const primitive2d::BasePrimitive2D& rCandidate) |