oox/source/export/chartexport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 1e38d5b976dacd8b42b8330b4b9635a058ffe20b Author: Gülşah Köse <gulsah.k...@collabora.com> AuthorDate: Mon Jan 21 17:31:36 2019 +0300 Commit: Gülşah Köse <gulsah.k...@collabora.com> CommitDate: Mon Jan 21 20:44:34 2019 +0100 tdf#122031 Change element order for OOXML compatibility. Change-Id: I8cca2db6157996dd25afa4c95e769725188fdfb9 Signed-off-by: Gülşah Köse <gulsah.k...@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/66686 Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com> Tested-by: Jenkins diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index 28c5771eab44..5e09117183f0 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -3232,6 +3232,7 @@ void ChartExport::exportDataLabels( continue; pFS->startElement(FSNS(XML_c, XML_dLbl), FSEND); + pFS->singleElement(FSNS(XML_c, XML_idx), XML_val, I32S(nIdx), FSEND); if (GetProperty(xLabelPropSet, "NumberFormat") || GetProperty(xLabelPropSet, "PercentageNumberFormat")) { @@ -3246,7 +3247,6 @@ void ChartExport::exportDataLabels( } // Individual label property that overwrites the baseline. - pFS->singleElement(FSNS(XML_c, XML_idx), XML_val, I32S(nIdx), FSEND); exportTextProps( xPropSet ); writeLabelProperties(pFS, this, xLabelPropSet, aParam); pFS->endElement(FSNS(XML_c, XML_dLbl)); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits