summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oox/source/export/chartexport.cxx18
1 files changed, 12 insertions, 6 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 86e7c7c6afb1..d3ff150d47b5 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -735,15 +735,21 @@ void ChartExport::exportChart( const Reference< css::chart::XChartDocument >& xC
pFS->endElement( FSNS( XML_c, XML_floor ) );
}
- // sideWall
-
- // backWall
- Reference< beans::XPropertySet > xBackWall( mxNewDiagram->getWall(), uno::UNO_QUERY );
- if( xBackWall.is() )
+ // LibreOffice doens't distinguish between sideWall and backWall (both are using the same color).
+ // It is controlled by the same Wall property.
+ Reference< beans::XPropertySet > xWall( mxNewDiagram->getWall(), uno::UNO_QUERY );
+ if( xWall.is() )
{
+ // sideWall
+ pFS->startElement( FSNS( XML_c, XML_sideWall ),
+ FSEND );
+ exportShapeProps( xWall );
+ pFS->endElement( FSNS( XML_c, XML_sideWall ) );
+
+ // backWall
pFS->startElement( FSNS( XML_c, XML_backWall ),
FSEND );
- exportShapeProps( xBackWall );
+ exportShapeProps( xWall );
pFS->endElement( FSNS( XML_c, XML_backWall ) );
}