oox/source/drawingml/chart/axisconverter.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit ce48c0981212b347ace49bab09ac242d2ecff41d Author: Muthu Subramanian <sumu...@suse.com> Date: Mon Sep 9 21:05:42 2013 +0530 n#834722: Chart shown flipped. Auto and manual axis positioning seems to cause a problem. Needs to be tested with more charts. diff --git a/oox/source/drawingml/chart/axisconverter.cxx b/oox/source/drawingml/chart/axisconverter.cxx index 1f725d6..dfc08b8 100644 --- a/oox/source/drawingml/chart/axisconverter.cxx +++ b/oox/source/drawingml/chart/axisconverter.cxx @@ -327,7 +327,8 @@ void AxisConverter::convertFromModel( const Reference< XCoordinateSystem >& rxCo case XML_max: eAxisPos = cssc::ChartAxisPosition_END; break; case XML_autoZero: eAxisPos = cssc::ChartAxisPosition_VALUE; break; } - aAxisProp.setProperty( PROP_CrossoverPosition, eAxisPos ); + if( !mrModel.mbAuto ) + aAxisProp.setProperty( PROP_CrossoverPosition, eAxisPos ); // calculate automatic origin depending on scaling mode of crossing axis bool bCrossingLogScale = pCrossingAxis && lclIsLogarithmicScale( *pCrossingAxis ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits