summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-05-05 18:50:51 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-05-05 19:44:25 +0200
commite415e070d6aaba48f457acb4c295381c69d67c99 (patch)
treeebb056bc36d58a211dd27ee1575bd636503f5565 /oox
parentebfcf864e5f7d498e08de3261e90c994e5fd7a48 (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.cxx20
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( );