diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-05-05 18:50:51 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-05-05 19:44:25 +0200 |
commit | e415e070d6aaba48f457acb4c295381c69d67c99 (patch) | |
tree | ebb056bc36d58a211dd27ee1575bd636503f5565 /oox | |
parent | ebfcf864e5f7d498e08de3261e90c994e5fd7a48 (diff) |
respect order of elements in OOXML chart export, related fdo#59857
Change-Id: I541e04d2f4a3b272894ceb67b4bd970e235b96a2
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/chartexport.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index 11a79fc3c709..75fb6a8b37ba 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -806,6 +806,16 @@ void ChartExport::exportChart( Reference< ::com::sun::star::chart::XChartDocumen { exportView3D(); + // floor + Reference< beans::XPropertySet > xFloor( mxNewDiagram->getFloor(), uno::UNO_QUERY ); + if( xFloor.is() ) + { + pFS->startElement( FSNS( XML_c, XML_floor ), + FSEND ); + exportShapeProps( xFloor ); + pFS->endElement( FSNS( XML_c, XML_floor ) ); + } + // sideWall // backWall @@ -818,16 +828,6 @@ void ChartExport::exportChart( Reference< ::com::sun::star::chart::XChartDocumen pFS->endElement( FSNS( XML_c, XML_backWall ) ); } - // floor - Reference< beans::XPropertySet > xFloor( mxNewDiagram->getFloor(), uno::UNO_QUERY ); - if( xFloor.is() ) - { - pFS->startElement( FSNS( XML_c, XML_floor ), - FSEND ); - exportShapeProps( xFloor ); - pFS->endElement( FSNS( XML_c, XML_floor ) ); - } - } // plot area exportPlotArea( ); |