From feddb8cb73db799e89b84ea8fd8c2057fdebca91 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 18 Sep 2017 13:38:17 +0200 Subject: [PATCH] maPrimitiveColor in Shadow3DExtractingProcessor unused since commit 9927e1ca23c8353c880a3ae0a196caabdf747c4b Date: Wed Aug 9 16:00:16 2006 +0000 #i39532# Change-Id: I1db3db2c4860d6ad71085cc3cfdeb202eec7e24a --- drawinglayer/source/processor3d/shadow3dextractor.cxx | 5 ++--- include/drawinglayer/processor3d/shadow3dextractor.hxx | 5 ----- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/drawinglayer/source/processor3d/shadow3dextractor.cxx b/drawinglayer/source/processor3d/shadow3dextractor.cxx index d325257f45e3..0544406ed59b 100644 --- a/drawinglayer/source/processor3d/shadow3dextractor.cxx +++ b/drawinglayer/source/processor3d/shadow3dextractor.cxx @@ -156,7 +156,7 @@ namespace drawinglayer mpPrimitive2DSequence->push_back( new primitive2d::PolygonHairlinePrimitive2D( a2DHairline, - maPrimitiveColor)); + basegfx::BColor())); } } break; @@ -187,7 +187,7 @@ namespace drawinglayer mpPrimitive2DSequence->push_back( new primitive2d::PolyPolygonColorPrimitive2D( a2DFill, - maPrimitiveColor)); + basegfx::BColor())); } } break; @@ -217,7 +217,6 @@ namespace drawinglayer maShadowPlaneNormal(), maPlanePoint(), mfLightPlaneScalar(0.0), - maPrimitiveColor(), mbShadowProjectionIsValid(false), mbConvert(false), mbUseProjection(false) diff --git a/include/drawinglayer/processor3d/shadow3dextractor.hxx b/include/drawinglayer/processor3d/shadow3dextractor.hxx index cf813f7b383e..f3714d0fe54b 100644 --- a/include/drawinglayer/processor3d/shadow3dextractor.hxx +++ b/include/drawinglayer/processor3d/shadow3dextractor.hxx @@ -62,11 +62,6 @@ namespace drawinglayer basegfx::B3DPoint maPlanePoint; double mfLightPlaneScalar; - /* the shadow color used for sub-primitives. Can stay at black since - the encapsulating 2d shadow primitive will contain the color - */ - basegfx::BColor maPrimitiveColor; - /// flag if shadow plane projection preparation leaded to valid results bool mbShadowProjectionIsValid : 1;