From ac26b103af987f080ca14ad243033e5e0acda189 Mon Sep 17 00:00:00 2001 From: Muthu Subramanian Date: Wed, 11 Sep 2013 21:41:43 +0530 Subject: n#834720: Labels wrongly interpreted as dates. If the numFormat is available we should probably use that. --- oox/source/drawingml/chart/axisconverter.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'oox/source') diff --git a/oox/source/drawingml/chart/axisconverter.cxx b/oox/source/drawingml/chart/axisconverter.cxx index dfc08b8578db..da1a732f192c 100644 --- a/oox/source/drawingml/chart/axisconverter.cxx +++ b/oox/source/drawingml/chart/axisconverter.cxx @@ -310,10 +310,8 @@ void AxisConverter::convertFromModel( const Reference< XCoordinateSystem >& rxCo { bool bPercent = false; if( mrModel.maNumberFormat.maFormatCode.indexOf('%') >= 0) - { - mrModel.maNumberFormat.mbSourceLinked = false; bPercent = true; - } + mrModel.maNumberFormat.mbSourceLinked = false; getFormatter().convertNumberFormat( aAxisProp, mrModel.maNumberFormat, bPercent ); } -- cgit