diff options
author | Armin Weiss <aw@openoffice.org> | 2007-03-06 11:36:13 +0000 |
---|---|---|
committer | Armin Weiss <aw@openoffice.org> | 2007-03-06 11:36:13 +0000 |
commit | c6df405c6c5e41212d69282d4f632893f108fda2 (patch) | |
tree | d1fd09d34b2264a60a5ddcd7e564151eeda73744 /drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx | |
parent | dace9300d20a1228ee233604fe1e2ecb0c660315 (diff) |
#i39532#
Diffstat (limited to 'drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx')
-rw-r--r-- | drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx b/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx index 107c689ab36c..ce3e948f72c8 100644 --- a/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx +++ b/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx @@ -4,9 +4,9 @@ * * $RCSfile: hatchtextureprimitive3d.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: aw $ $Date: 2006-12-13 16:57:08 $ + * last change: $Author: aw $ $Date: 2007-03-06 12:34:56 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -77,6 +77,10 @@ #include <drawinglayer/primitive3d/polygonprimitive3d.hxx> #endif +#ifndef INCLUDED_DRAWINGLAYER_PRIMITIVE3D_PRIMITIVETYPES3D_HXX +#include <drawinglayer/primitive3d/drawinglayer_primitivetypes3d.hxx> +#endif + ////////////////////////////////////////////////////////////////////////////// using namespace com::sun::star; @@ -114,7 +118,7 @@ namespace drawinglayer // not all content is needed, remove transparencies and ModifiedColorPrimitives switch(pBasePrimitive->getPrimitiveID()) { - case Create3DPrimitiveID('3','P','P','M') : + case PRIMITIVE3D_ID_POLYPOLYGONMATERIALPRIMITIVE3D : { // polyPolygonMaterialPrimitive3D, check texturing and hatching const PolyPolygonMaterialPrimitive3D& rPrimitive = static_cast< const PolyPolygonMaterialPrimitive3D& >(*pBasePrimitive); @@ -333,7 +337,7 @@ namespace drawinglayer } // provide unique ID - ImplPrimitrive3DIDBlock(HatchTexturePrimitive3D, '3','H','T','e') + ImplPrimitrive3DIDBlock(HatchTexturePrimitive3D, PRIMITIVE3D_ID_HATCHTEXTUREPRIMITIVE3D) } // end of namespace primitive3d } // end of namespace drawinglayer |