From e30ad6028be5eea3bad01bc1b813eb83746bfdd9 Mon Sep 17 00:00:00 2001 From: Armin Weiss Date: Wed, 7 Nov 2007 13:31:19 +0000 Subject: #i39532# committing to have a base for HDU --- drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx') diff --git a/drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx b/drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx index 748ebcfd2d0b..4d0710b042cc 100644 --- a/drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx @@ -4,9 +4,9 @@ * * $RCSfile: wrongspellprimitive2d.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: aw $ $Date: 2007-09-26 11:36:36 $ + * last change: $Author: aw $ $Date: 2007-11-07 14:27:26 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -93,11 +93,11 @@ namespace drawinglayer aPolygon.append(getTransformation() * aStart); aPolygon.append(getTransformation() * aStop); - // prepare stroke attribute - const attribute::StrokeAttribute aStrokeAttribute(getColor(), 0.0); + // prepare line attribute + const attribute::LineAttribute aLineAttribute(getColor()); // create the waveline primitive - Primitive2DReference xPrimitive(new PolygonWavePrimitive2D(aPolygon, aStrokeAttribute, fWaveWidth, 0.5 * fWaveWidth)); + Primitive2DReference xPrimitive(new PolygonWavePrimitive2D(aPolygon, aLineAttribute, fWaveWidth, 0.5 * fWaveWidth)); Primitive2DSequence xRetval(&xPrimitive, 1); return xRetval; -- cgit