diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2018-12-30 12:51:25 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2019-01-17 14:01:00 +0100 |
commit | 812b23421e064dc7a211f8e61e14b3c6be5f1ddd (patch) | |
tree | fd3c66094874b731f65d231ed7f68b9012f23a27 | |
parent | 39f2e4490a1f4ac7706724adb789cc460bd86300 (diff) |
tdf#112484: repeat-item-labels is invalid in odf1.2 strict
Change-Id: I23d204ef3d4e466876bb3416d616dc1f3682ad4c
Reviewed-on: https://gerrit.libreoffice.org/65740
Tested-by: Jenkins
(cherry picked from commit 40a7e9c93855ac6cceb4c4189587998e21581de5)
Reviewed-on: https://gerrit.libreoffice.org/65749
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
(cherry picked from commit c64564c6b520f4dbadb689e958dafa1591b3711d)
-rw-r--r-- | sc/source/filter/xml/XMLExportDataPilot.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/filter/xml/XMLExportDataPilot.cxx b/sc/source/filter/xml/XMLExportDataPilot.cxx index fc8e2d537dc3..c6a43445c149 100644 --- a/sc/source/filter/xml/XMLExportDataPilot.cxx +++ b/sc/source/filter/xml/XMLExportDataPilot.cxx @@ -492,6 +492,7 @@ void ScXMLExportDataPilot::WriteLevels(const ScDPSaveDimension* pDim) ::sax::Converter::convertBool(sBuffer, pDim->GetShowEmpty()); rExport.AddAttribute(XML_NAMESPACE_TABLE, XML_SHOW_EMPTY, sBuffer.makeStringAndClear()); } + if (rExport.getDefaultVersion() > SvtSaveOptions::ODFVER_012) { OUStringBuffer sBuffer; ::sax::Converter::convertBool(sBuffer, pDim->GetRepeatItemLabels()); |