summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMuthu Subramanian <sumuthu@collabora.com>2013-09-11 21:41:43 +0530
committerAndras Timar <andras.timar@collabora.com>2013-10-17 12:55:19 +0200
commitf0e7e96f4f65af8dd0f74e43a092171391bcbeb5 (patch)
tree103927f58af187c908d04eccde3f3bfdf4ead021 /oox
parentda7ab1cf6183194eee55a012a2113f9c09c61158 (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.cxx4
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 );
}