summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-03-08 13:32:23 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-03-08 14:35:11 +0100
commit79ed9ebb6ed64a10928ad3a10924708c312703a3 (patch)
tree8d524f2f7b1953c6b2bb1591e500ce08a0016fab
parentb1fbb1513a4d183e3194965c1a60feca56dc90bb (diff)
fix OOXML validation error, related fdo#36731
Missing elements for gradient fill background export. Change-Id: Ib3ed3b5e353d3b02dffa5c118e14fd2187bd924a
-rw-r--r--oox/source/export/chartexport.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 9f8df564c5b3..b912bcff6ab1 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -1218,7 +1218,9 @@ void ChartExport::exportGradientFill( Reference< XPropertySet > xPropSet )
uno::Any rValue = xGradient->getByName( sFillGradientName );
if( (rValue >>= aGradient) )
{
+ mpFS->startElementNS( XML_a, XML_gradFill, FSEND );
WriteGradientFill( aGradient );
+ mpFS->endElementNS( XML_a, XML_gradFill );
}
}
catch (const uno::Exception & rEx)