diff options
author | Muthu Subramanian <sumuthu@collabora.com> | 2013-09-11 21:41:43 +0530 |
---|---|---|
committer | Muthu Subramanian <sumuthu@collabora.com> | 2013-09-11 21:41:43 +0530 |
commit | ac26b103af987f080ca14ad243033e5e0acda189 (patch) | |
tree | 5206d3d1e19fe027e30bf7b712f2eb9ebed95937 /oox | |
parent | f27ee66f2b1f086baf8feb6054d4e6d77a4a30e3 (diff) |
n#834720: Labels wrongly interpreted as dates.
If the numFormat is available we should probably use that.
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/chart/axisconverter.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
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 ); } |