From cf4347aa515872454404e73f07cc4b0b9d61bd8b Mon Sep 17 00:00:00 2001 From: Lionel Elie Mamane Date: Thu, 18 Dec 2014 06:38:35 +0100 Subject: bCategoriesUsed is always false at this point Change-Id: I7e6851ce3f24ef3c5051eb7431b6aa1df845836d --- chart2/source/model/template/XYDataInterpreter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chart2/source/model') 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 -- cgit v1.2.3