diff options
author | Armin Weiss <aw@openoffice.org> | 2007-07-27 08:04:00 +0000 |
---|---|---|
committer | Armin Weiss <aw@openoffice.org> | 2007-07-27 08:04:00 +0000 |
commit | d45ddb6d03846b0c576eeee062342962aa131bc0 (patch) | |
tree | 1b6f8b7a7ebcbe3ba7d7c6f770435a350e1424d7 /drawinglayer/source/primitive2d/gridprimitive2d.cxx | |
parent | ece8a3d3c459baab0058bd241db7e9f1e584cd8d (diff) |
#i39532#
Diffstat (limited to 'drawinglayer/source/primitive2d/gridprimitive2d.cxx')
-rw-r--r-- | drawinglayer/source/primitive2d/gridprimitive2d.cxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/drawinglayer/source/primitive2d/gridprimitive2d.cxx b/drawinglayer/source/primitive2d/gridprimitive2d.cxx index e175963daef6..4d776fb90aca 100644 --- a/drawinglayer/source/primitive2d/gridprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/gridprimitive2d.cxx @@ -4,9 +4,9 @@ * * $RCSfile: gridprimitive2d.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: aw $ $Date: 2007-03-06 12:34:29 $ + * last change: $Author: aw $ $Date: 2007-07-27 09:03:33 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -41,6 +41,10 @@ #include <basegfx/tools/canvastools.hxx> #endif +#ifndef INCLUDED_DRAWINGLAYER_PRIMITIVE2D_POINTRARRAYPRIMITIVE2D_HXX +#include <drawinglayer/primitive2d/pointarrayprimitive2d.hxx> +#endif + #ifndef INCLUDED_DRAWINGLAYER_PRIMITIVE2D_MARKERARRAYPRIMITIVE2D_HXX #include <drawinglayer/primitive2d/markerarrayprimitive2d.hxx> #endif @@ -213,10 +217,10 @@ namespace drawinglayer aRetval.realloc(nRetvalCount); - // add MarkerArrayPrimitive2D if point markers were added + // add PointArrayPrimitive2D if point markers were added if(nCountPoint) { - aRetval[nInsertCounter++] = Primitive2DReference(new MarkerArrayPrimitive2D(aPositionsPoint, MARKERSTYLE2D_POINT, getBColor())); + aRetval[nInsertCounter++] = Primitive2DReference(new PointArrayPrimitive2D(aPositionsPoint, getBColor())); } // add MarkerArrayPrimitive2D if cross markers were added |