summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/dialogs/tp_PointGeometry.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/dialogs/tp_PointGeometry.cxx')
-rw-r--r--chart2/source/controller/dialogs/tp_PointGeometry.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/chart2/source/controller/dialogs/tp_PointGeometry.cxx b/chart2/source/controller/dialogs/tp_PointGeometry.cxx
index 645ddc4e90f0..35a021ccefaf 100644
--- a/chart2/source/controller/dialogs/tp_PointGeometry.cxx
+++ b/chart2/source/controller/dialogs/tp_PointGeometry.cxx
@@ -60,10 +60,9 @@ sal_Bool SchLayoutTabPage::FillItemSet(SfxItemSet& rOutAttrs)
if(m_pGeometryResources && m_pGeometryResources->GetSelectEntryCount())
{
- long nShape=CHART_SHAPE3D_SQUARE;
long nSegs=32;
- nShape = m_pGeometryResources->GetSelectEntryPos();
+ long nShape = m_pGeometryResources->GetSelectEntryPos();
if(nShape==CHART_SHAPE3D_PYRAMID)
nSegs=4;