summaryrefslogtreecommitdiff
path: root/chart2/source/model
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2014-12-18 06:38:35 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2014-12-18 06:39:31 +0100
commitcf4347aa515872454404e73f07cc4b0b9d61bd8b (patch)
tree9e08c8ace7b534927b1b9d190476c4a50fa4ba6a /chart2/source/model
parent8a5891450c38de50d7d48d78e9b398f07cf94d0a (diff)
bCategoriesUsed is always false at this point
Change-Id: I7e6851ce3f24ef3c5051eb7431b6aa1df845836d
Diffstat (limited to 'chart2/source/model')
-rw-r--r--chart2/source/model/template/XYDataInterpreter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/model/template/XYDataInterpreter.cxx b/chart2/source/model/template/XYDataInterpreter.cxx
index 8bf2b03a9aaf..44705c1a2165 100644
--- a/chart2/source/model/template/XYDataInterpreter.cxx
+++ b/chart2/source/model/template/XYDataInterpreter.cxx
@@ -68,7 +68,7 @@ chart2::InterpretedData SAL_CALL XYDataInterpreter::interpretDataSource(
// parse data
bool bCategoriesUsed = false;
- bool bSetXValues = aData.getLength()>(bCategoriesUsed?2:1);
+ bool bSetXValues = aData.getLength()>1;
for( sal_Int32 nDataIdx= 0; nDataIdx < aData.getLength(); ++nDataIdx )
{
try