diff options
author | Armin Weiss <aw@openoffice.org> | 2008-06-10 08:29:56 +0000 |
---|---|---|
committer | Armin Weiss <aw@openoffice.org> | 2008-06-10 08:29:56 +0000 |
commit | 4eed20ca2861504ee08ee50f7173a74bfb56bfa5 (patch) | |
tree | f3385d455bfdcc7dfa611b767898e13376f7085b /drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx | |
parent | 58f9ce012e902af26b4021fe50b20a7da91ee7bd (diff) |
#i39532# changed 3d primitive stuff to use viewinformation3d
Diffstat (limited to 'drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx')
-rw-r--r-- | drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx b/drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx index e116b6d9b1bc..e0018cb78f63 100644 --- a/drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx +++ b/drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx @@ -4,9 +4,9 @@ * * $RCSfile: sdrlatheprimitive3d.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: aw $ $Date: 2008-05-27 14:11:21 $ + * last change: $Author: aw $ $Date: 2008-06-10 09:29:33 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -54,7 +54,7 @@ namespace drawinglayer { namespace primitive3d { - Primitive3DSequence SdrLathePrimitive3D::createLocalDecomposition(double /*fTime*/) const + Primitive3DSequence SdrLathePrimitive3D::createLocalDecomposition(const geometry::ViewInformation3D& /*rViewInformation*/) const { Primitive3DSequence aRetval; @@ -199,11 +199,7 @@ namespace drawinglayer } } -#ifdef DBG_UTIL - return EventuallyAddTestRange(aRetval); -#else return aRetval; -#endif } void SdrLathePrimitive3D::impCreateSlices() @@ -326,7 +322,7 @@ namespace drawinglayer return false; } - basegfx::B3DRange SdrLathePrimitive3D::getB3DRange(double /*fTime*/) const + basegfx::B3DRange SdrLathePrimitive3D::getB3DRange(const geometry::ViewInformation3D& /*rViewInformation*/) const { // use defaut from sdrPrimitive3D which uses transformation expanded by line width/2 // The parent implementation which uses the ranges of the decomposition would be more |