Author: hdu
Date: Thu Feb 28 14:32:09 2013
New Revision: 1451215

URL: http://svn.apache.org/r1451215
Log:
fix typo that caused the DFF_Prop_c3DExtrudeForward property to be 
mis-calculated

Modified:
    openoffice/trunk/main/filter/source/msfilter/msdffimp.cxx

Modified: openoffice/trunk/main/filter/source/msfilter/msdffimp.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/filter/source/msfilter/msdffimp.cxx?rev=1451215&r1=1451214&r2=1451215&view=diff
==============================================================================
--- openoffice/trunk/main/filter/source/msfilter/msdffimp.cxx (original)
+++ openoffice/trunk/main/filter/source/msfilter/msdffimp.cxx Thu Feb 28 
14:32:09 2013
@@ -1709,7 +1709,7 @@ void DffPropertyReader::ApplyCustomShape
                {
                        const rtl::OUString     sDepth( 
RTL_CONSTASCII_USTRINGPARAM ( "Depth" ) );
                        double fBackDepth = 
(double)((sal_Int32)GetPropertyValue( DFF_Prop_c3DExtrudeBackward, 1270 * 360 
)) / 360.0;
-                       double fForeDepth = 
(double)((sal_Int32)GetPropertyValue( DFF_Prop_c3DExtrudeForward ), 0 ) / 360.0;
+                       double fForeDepth = 
(double)((sal_Int32)GetPropertyValue( DFF_Prop_c3DExtrudeForward, 0 )) / 360.0;
                        double fDepth = fBackDepth + fForeDepth;
                        double fFraction = fDepth != 0.0 ? fForeDepth / fDepth 
: 0;
                        EnhancedCustomShapeParameterPair aDepthParaPair;


Reply via email to