diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-06-11 14:04:20 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-06-11 14:04:20 +0000 |
commit | cfa576c24cf0aed311957feab7c31f393572027a (patch) | |
tree | 90b15c9ac4a5c825d626464b75c6a4c53420bf4c | |
parent | a3d64fbd9860ed929cdf462c285100cafe5897e0 (diff) |
INTEGRATION: CWS chart05 (1.22.2); FILE MERGED
2007/05/25 16:39:40 iha 1.22.2.1: #i77155# 3D stacked Col/Bar Charts are constricted at the connection edges like a wasp
-rw-r--r-- | chart2/source/view/main/ShapeFactory.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/view/main/ShapeFactory.cxx b/chart2/source/view/main/ShapeFactory.cxx index 3eabf8b2a..22e85b924 100644 --- a/chart2/source/view/main/ShapeFactory.cxx +++ b/chart2/source/view/main/ShapeFactory.cxx @@ -4,9 +4,9 @@ * * $RCSfile: ShapeFactory.cxx,v $ * - * $Revision: 1.22 $ + * $Revision: 1.23 $ * - * last change: $Author: vg $ $Date: 2007-05-22 19:25:43 $ + * last change: $Author: obo $ $Date: 2007-06-11 15:04:20 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -254,7 +254,7 @@ uno::Any createPolyPolygon_Cube( const double fHeightSign = fHeight >= 0.0 ? 1.0 : -1.0; - const double fOffset = (fDepth * fRoundedEdge) * 1.05; // increase by 5% for safety + const double fOffset = (fWidthH * fRoundedEdge) * 1.05; // increase by 5% for safety const bool bRoundEdges = fRoundedEdge && fOffset < fWidthH && 2.0 * fOffset < fHeightSign*fHeight; const sal_Int32 nPointCount = bRoundEdges ? 13 : 5; @@ -647,7 +647,7 @@ uno::Reference<drawing::XShape> , uno::makeAny((sal_Int32)fDepth) ); //PercentDiagonal - sal_Int16 nPercentDiagonal = bRounded ? 5 : 0; + sal_Int16 nPercentDiagonal = bRounded ? 3 : 0; xProp->setPropertyValue( C2U( UNO_NAME_3D_PERCENT_DIAGONAL ) , uno::makeAny( nPercentDiagonal ) ); |