summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2007-11-07 13:31:19 +0000
committerArmin Weiss <aw@openoffice.org>2007-11-07 13:31:19 +0000
commite30ad6028be5eea3bad01bc1b813eb83746bfdd9 (patch)
tree304a33fac525514d04a9dab33d8ab8a868c144d8 /drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx
parent1c80385e37a1a662dabf780c5da8731940ed562c (diff)
#i39532# committing to have a base for HDU
Diffstat (limited to 'drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx')
-rw-r--r--drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx10
1 files changed, 5 insertions, 5 deletions
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;