summaryrefslogtreecommitdiff
path: root/chart2/source/tools
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2010-01-29 14:04:49 +0100
committerIvo Hinkelmann <ihi@openoffice.org>2010-01-29 14:04:49 +0100
commitbbf914060be8436a792e898e68906213badf0b22 (patch)
treead219df144093bfe573512b3bfb13b0a204b2f1f /chart2/source/tools
parent667dde6803a1702b15f8b14c5f8137c0c13ffd4c (diff)
parent0203776ff2c1253188f488be8cc9d80c38d982ce (diff)
CWS-TOOLING: integrate CWS chart32stopper_DEV300
Diffstat (limited to 'chart2/source/tools')
-rw-r--r--chart2/source/tools/ChartTypeHelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/tools/ChartTypeHelper.cxx b/chart2/source/tools/ChartTypeHelper.cxx
index 9e521fa76dae..243e30093ff3 100644
--- a/chart2/source/tools/ChartTypeHelper.cxx
+++ b/chart2/source/tools/ChartTypeHelper.cxx
@@ -549,7 +549,7 @@ sal_Int32 ChartTypeHelper::getNumberOfDisplayedSeries(
if( (xChartTypeProp->getPropertyValue( C2U("UseRings")) >>= bDonut)
&& !bDonut )
{
- return 1;
+ return nNumberOfSeries>0 ? 1 : 0;
}
}
}