summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorIngrid Halama <iha@openoffice.org>2004-01-06 18:38:32 +0000
committerIngrid Halama <iha@openoffice.org>2004-01-06 18:38:32 +0000
commitd38147e75068d5d096ad1b1230d994b96ed9c6d4 (patch)
treed1e0a269c64fef9d7800fede2a420531b4805c88 /chart2
parent8866e26cc36f62462dbd537f1f71beb8e1ec133c (diff)
workaround for buggy 3D pie segments
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/main/ShapeFactory.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/chart2/source/view/main/ShapeFactory.cxx b/chart2/source/view/main/ShapeFactory.cxx
index 90c08d98df58..ab51ed7dd63e 100644
--- a/chart2/source/view/main/ShapeFactory.cxx
+++ b/chart2/source/view/main/ShapeFactory.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ShapeFactory.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: iha $ $Date: 2004-01-05 16:38:51 $
+ * last change: $Author: iha $ $Date: 2004-01-06 19:38:32 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1166,6 +1166,8 @@ uno::Reference< drawing::XShape >
//Segments
xProp->setPropertyValue( C2U( UNO_NAME_3D_HORZ_SEGS )
, uno::makeAny(CHART_3DOBJECT_SEGMENTCOUNT) );
+ xProp->setPropertyValue( C2U( UNO_NAME_3D_VERT_SEGS )
+ , uno::makeAny((sal_Int32)20) );//@todo replace this expensive count by 1 if draw bug is fixed
}
catch( uno::Exception& e )
{