diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-01-05 12:15:24 +0100 |
---|---|---|
committer | Radek Doulik <rodo@novell.com> | 2011-01-05 12:15:24 +0100 |
commit | 6279a2e452f22899fb791b8d7b7f2e65e6eb9f9f (patch) | |
tree | 089b6123817b81862405bcffb8245ca6006a7961 /svx/source/toolbars | |
parent | f7b357d28921d24377614690837b34ac65e5fe2d (diff) |
cppcheck cleaning
Diffstat (limited to 'svx/source/toolbars')
-rw-r--r-- | svx/source/toolbars/extrusionbar.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/toolbars/extrusionbar.cxx b/svx/source/toolbars/extrusionbar.cxx index 7dc0d97e2b91..87a8dd59a9b6 100644 --- a/svx/source/toolbars/extrusionbar.cxx +++ b/svx/source/toolbars/extrusionbar.cxx @@ -686,10 +686,7 @@ void getExtrusionDirectionState( SdrView* pSdrView, SfxItemSet& rSet ) sal_Bool bParallel = sal_True; Position3D aViewPoint( 3472, -3472, 25000 ); - double fOriginX = 0.50; - double fOriginY = -0.50; double fSkewAngle = -135; - double fSkew = 50.0; pAny = aGeometryItem.GetPropertyValueByName( sExtrusion, sProjectionMode ); sal_Int16 nProjectionMode = sal_Int16(); @@ -698,6 +695,7 @@ void getExtrusionDirectionState( SdrView* pSdrView, SfxItemSet& rSet ) if( bParallel ) { + double fSkew = 50.0; EnhancedCustomShapeParameterPair aSkewPropPair; pAny = aGeometryItem.GetPropertyValueByName( sExtrusion, sSkew ); if( pAny && ( *pAny >>= aSkewPropPair ) ) @@ -712,6 +710,8 @@ void getExtrusionDirectionState( SdrView* pSdrView, SfxItemSet& rSet ) } else { + double fOriginX = 0.50; + double fOriginY = -0.50; pAny = aGeometryItem.GetPropertyValueByName( sExtrusion, sViewPoint ); if( pAny ) *pAny >>= aViewPoint; |