From 3ed3d39230f5664ae38ecf683da133034901cbbf Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sun, 5 May 2013 19:08:01 +0200 Subject: respect element order in OOXML chart export, related fdo#59857 Change-Id: Iecb47635cb8c854ec6c12a12f895972fcf099009 --- oox/source/export/chartexport.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'oox') diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index ba17b0404aa8..cae4dd24d690 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -2042,10 +2042,6 @@ void ChartExport::_exportAxis( pFS->endElement( FSNS( XML_c, XML_scaling ) ); - // title - if( xAxisTitle.is() ) - exportTitle( xAxisTitle ); - sal_Bool bVisible = sal_True; if( xAxisProp.is() ) { @@ -2079,6 +2075,10 @@ void ChartExport::_exportAxis( pFS->endElement( FSNS( XML_c, XML_minorGridlines ) ); } + // title + if( xAxisTitle.is() ) + exportTitle( xAxisTitle ); + // majorTickMark sal_Int32 nValue = 0; if(GetProperty( xAxisProp, "Marks" ) ) -- cgit v1.2.3