diff options
Diffstat (limited to 'drawinglayer/source/processor3d/defaultprocessor3d.cxx')
-rw-r--r-- | drawinglayer/source/processor3d/defaultprocessor3d.cxx | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/drawinglayer/source/processor3d/defaultprocessor3d.cxx b/drawinglayer/source/processor3d/defaultprocessor3d.cxx index 3186ce607eae..5e4435c91aa5 100644 --- a/drawinglayer/source/processor3d/defaultprocessor3d.cxx +++ b/drawinglayer/source/processor3d/defaultprocessor3d.cxx @@ -4,9 +4,9 @@ * * $RCSfile: defaultprocessor3d.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: aw $ $Date: 2008-01-30 12:25:05 $ + * last change: $Author: aw $ $Date: 2008-02-07 13:41:59 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -117,6 +117,10 @@ ////////////////////////////////////////////////////////////////////////////// +using namespace com::sun::star; + +////////////////////////////////////////////////////////////////////////////// + namespace basegfx { class BDInterpolator @@ -957,6 +961,12 @@ namespace drawinglayer } } } + + const ::rtl::OUString& getNamePropertyTime() + { + static ::rtl::OUString s_sNamePropertyTime(RTL_CONSTASCII_USTRINGPARAM("Time")); + return s_sNamePropertyTime; + } } // end of anonymous namespace } // end of namespace drawinglayer @@ -1820,9 +1830,8 @@ namespace drawinglayer else { // unknown implementation, use UNO API call instead and process recursively - com::sun::star::graphic::Primitive3DParameters aPrimitive3DParameters; - aPrimitive3DParameters.Time = getTime(); - process(xReference->getDecomposition(aPrimitive3DParameters)); + const uno::Sequence< beans::PropertyValue > xViewParameters(primitive3d::TimeToViewParameters(getTime())); + process(xReference->getDecomposition(xViewParameters)); } } } |