summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorsushil_shinde <sushil.shinde@synerzip.com>2013-12-09 12:27:40 +0530
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-12-19 03:20:40 +0100
commita70dfc34a67e9fb240cc70853da0c49fa01c2e4f (patch)
tree97964cf2cc86a868a538db4fa71a112e010a6dec /oox
parent02a047365fccce91d5b1feae0addf79fe58ebe31 (diff)
fdo#72306 Axis names were lost after saving file on LO.
While exporting chart "crosses" position values were not handled properly in chartexport. Fixed this issue by handling "autozero" value for c:crosses. Added unit test. Change-Id: I3489908d4c3d4b41a04debfecf95e65f373649ce
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/chart/axisconverter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/chart/axisconverter.cxx b/oox/source/drawingml/chart/axisconverter.cxx
index da1a732f192c..5efa7d9183cc 100644
--- a/oox/source/drawingml/chart/axisconverter.cxx
+++ b/oox/source/drawingml/chart/axisconverter.cxx
@@ -323,7 +323,7 @@ void AxisConverter::convertFromModel( const Reference< XCoordinateSystem >& rxCo
{
case XML_min: eAxisPos = cssc::ChartAxisPosition_START; break;
case XML_max: eAxisPos = cssc::ChartAxisPosition_END; break;
- case XML_autoZero: eAxisPos = cssc::ChartAxisPosition_VALUE; break;
+ case XML_autoZero: eAxisPos = cssc::ChartAxisPosition_ZERO; break;
}
if( !mrModel.mbAuto )
aAxisProp.setProperty( PROP_CrossoverPosition, eAxisPos );