summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-05-05 19:08:01 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-05-05 19:44:26 +0200
commit3ed3d39230f5664ae38ecf683da133034901cbbf (patch)
treef30ab459ce3f8e542586ea0c3c3863bf75fb5058 /oox
parenta927086f9a3c94bb7b6b8edec37ae723a6b243aa (diff)
respect element order in OOXML chart export, related fdo#59857
Change-Id: Iecb47635cb8c854ec6c12a12f895972fcf099009
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/chartexport.cxx8
1 files changed, 4 insertions, 4 deletions
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" ) )