sc/source/filter/xml/XMLExportDataPilot.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 40a7e9c93855ac6cceb4c4189587998e21581de5 Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Sun Dec 30 12:51:25 2018 +0100 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Sun Dec 30 18:10:38 2018 +0100 tdf#112484: repeat-item-labels is invalid in odf1.2 strict Change-Id: I23d204ef3d4e466876bb3416d616dc1f3682ad4c Reviewed-on: https://gerrit.libreoffice.org/65740 Tested-by: Jenkins Reviewed-by: Regina Henschel <rb.hensc...@t-online.de> diff --git a/sc/source/filter/xml/XMLExportDataPilot.cxx b/sc/source/filter/xml/XMLExportDataPilot.cxx index 3dad7e282501..a39784c7f8ab 100644 --- a/sc/source/filter/xml/XMLExportDataPilot.cxx +++ b/sc/source/filter/xml/XMLExportDataPilot.cxx @@ -493,6 +493,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()); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits