diff options
author | Armin Le Grand <Armin.Le.Grand@Sun.COM> | 2009-11-18 13:08:25 +0100 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@Sun.COM> | 2009-11-18 13:08:25 +0100 |
commit | 5a68fee42aa92563adb8fa777bd680105792a89d (patch) | |
tree | ea90da8284f9068b1691defff96fadf8499b9a10 /drawinglayer | |
parent | 90f4f68c43cf52c33e783c81cfa2ce8beeae916a (diff) |
aw078: changes after resync to DEV300m64
Diffstat (limited to 'drawinglayer')
5 files changed, 13 insertions, 12 deletions
diff --git a/drawinglayer/inc/drawinglayer/primitive2d/polypolygonprimitive2d.hxx b/drawinglayer/inc/drawinglayer/primitive2d/polypolygonprimitive2d.hxx index 8c0512402120..187e89f42e97 100644 --- a/drawinglayer/inc/drawinglayer/primitive2d/polypolygonprimitive2d.hxx +++ b/drawinglayer/inc/drawinglayer/primitive2d/polypolygonprimitive2d.hxx @@ -368,12 +368,12 @@ namespace drawinglayer /// the PolyPolygon geometry basegfx::B2DPolyPolygon maPolyPolygon; - /// the hatch definition - attribute::FillHatchAttribute maFillHatch; - /// the hatch background color (if used) basegfx::BColor maBackgroundColor; + /// the hatch definition + attribute::FillHatchAttribute maFillHatch; + protected: /// local decomposition. virtual Primitive2DSequence create2DDecomposition(const geometry::ViewInformation2D& rViewInformation) const; diff --git a/drawinglayer/source/geometry/viewinformation2d.cxx b/drawinglayer/source/geometry/viewinformation2d.cxx index e03c946edf9e..3a3fd68831db 100644 --- a/drawinglayer/source/geometry/viewinformation2d.cxx +++ b/drawinglayer/source/geometry/viewinformation2d.cxx @@ -157,7 +157,7 @@ namespace drawinglayer mxExtendedInformation[nExtendedInsert++] = rProp; // for performance reasons, also cache content locally - sal_Bool bSalBool; + sal_Bool bSalBool(false); rProp.Value >>= bSalBool; mbReducedDisplayQuality = bSalBool; } diff --git a/drawinglayer/source/primitive2d/epsprimitive2d.cxx b/drawinglayer/source/primitive2d/epsprimitive2d.cxx index dc8128ab1386..5854e90cfb9f 100644 --- a/drawinglayer/source/primitive2d/epsprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/epsprimitive2d.cxx @@ -92,7 +92,7 @@ namespace drawinglayer return false; } - basegfx::B2DRange EpsPrimitive2D::getB2DRange(const geometry::ViewInformation2D& rViewInformation) const + basegfx::B2DRange EpsPrimitive2D::getB2DRange(const geometry::ViewInformation2D& /*rViewInformation*/) const { // use own implementation to quickly answer the getB2DRange question. basegfx::B2DRange aRetval(0.0, 0.0, 1.0, 1.0); diff --git a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx index 8434146c6f3a..e618093a7457 100644 --- a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx @@ -1930,9 +1930,9 @@ namespace // the metafile play interprets the single polygons from MetaPolyPolygonAction // always as closed and always paints an edge from last to first point, // so force to closed here to emulate that - for(sal_uInt32 a(0); a < aPolyPolygonOutline.count(); a++) + for(sal_uInt32 b(0); b < aPolyPolygonOutline.count(); b++) { - basegfx::B2DPolygon aPolygonOutline(aPolyPolygonOutline.getB2DPolygon(a)); + basegfx::B2DPolygon aPolygonOutline(aPolyPolygonOutline.getB2DPolygon(b)); if(aPolygonOutline.count() > 1 && !aPolygonOutline.isClosed()) { @@ -1989,14 +1989,14 @@ namespace /** NEEDS IMPLEMENTATION */ OSL_ENSURE(false, "META_STRETCHTEXT_ACTION requested (!)"); // use OutputDevice::GetTextArray() to map the... - const MetaStretchTextAction* pA = (const MetaStretchTextAction*)pAction; + // const MetaStretchTextAction* pA = (const MetaStretchTextAction*)pAction; break; } case META_TEXTRECT_ACTION : { /** NEEDS IMPLEMENTATION */ OSL_ENSURE(false, "META_TEXTRECT_ACTION requested (!)"); - const MetaTextRectAction* pA = (const MetaTextRectAction*)pAction; + // const MetaTextRectAction* pA = (const MetaTextRectAction*)pAction; break; } case META_BMP_ACTION : @@ -2655,7 +2655,7 @@ namespace const MetaRasterOpAction* pA = (const MetaRasterOpAction*)pAction; const RasterOp aRasterOp = pA->GetRasterOp(); - HandleNewRasterOp(pA->GetRasterOp(), rTargetHolders, rPropertyHolders); + HandleNewRasterOp(aRasterOp, rTargetHolders, rPropertyHolders); break; } diff --git a/drawinglayer/source/processor2d/hittestprocessor2d.cxx b/drawinglayer/source/processor2d/hittestprocessor2d.cxx index 09eb6e3e71f6..ce9cadb6b40a 100644 --- a/drawinglayer/source/processor2d/hittestprocessor2d.cxx +++ b/drawinglayer/source/processor2d/hittestprocessor2d.cxx @@ -449,8 +449,9 @@ namespace drawinglayer { if(!getHitTextOnly()) { - const primitive2d::ScenePrimitive2D& rCandidate(static_cast< const primitive2d::ScenePrimitive2D& >(rCandidate)); - check3DHit(rCandidate); + const primitive2d::ScenePrimitive2D& rScenePrimitive2D( + static_cast< const primitive2d::ScenePrimitive2D& >(rCandidate)); + check3DHit(rScenePrimitive2D); } break; |