diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-02-23 05:24:48 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-02-23 06:42:00 +0100 |
commit | 4725fcd8ea50d565dc443a6cd90011e9dbb6f1b5 (patch) | |
tree | c5be0f489dd8e8e6a024c453bcecc95cb7ff7a09 | |
parent | 1be2b63b64eba60b5397c20006f669019fe8a8e7 (diff) |
OOXML export validation fixes, related fdo#54651
We don't exactly know right now how to fill these elements so just don't
export them.
Change-Id: I78f9c67aaf4cec4dfcae3137ba137121ca005fd9
-rw-r--r-- | sc/source/filter/excel/xepivot.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/filter/excel/xepivot.cxx b/sc/source/filter/excel/xepivot.cxx index 1993828edff4..7a46a23202fc 100644 --- a/sc/source/filter/excel/xepivot.cxx +++ b/sc/source/filter/excel/xepivot.cxx @@ -1442,6 +1442,9 @@ void XclExpPivotTable::SaveXml( XclExpXmlStream& rStrm ) // OOXTODO: XML_pivotFields + // Until we figure out how to fill these elements don't export them. It makes + // our documents invalid. The code below is correct so don't remove it!!! +#if 0 // maPTInfo.mnFields? if( maPTInfo.mnRowFields ) { @@ -1478,6 +1481,7 @@ void XclExpPivotTable::SaveXml( XclExpXmlStream& rStrm ) FSEND ); aPivotTableDefinition->endElement( XML_dataFields ); } +#endif // OOXTODO: XML_formats, XML_conditionalFormats, XML_chartFormats, // XML_pivotHierarchies, XML_pivotTableStyleInfo, XML_filters, |