diff options
author | Gülşah Köse <gulsah.kose@collabora.com> | 2019-01-21 17:31:36 +0300 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2019-09-16 21:22:08 +0200 |
commit | 134fdada09d328473683f46af2695b616d14f827 (patch) | |
tree | c691c2046ff6b01420455c5df517ea9bbb612393 /oox | |
parent | e5c10223db1e6f1b29aa2615400e9215e3d5fd03 (diff) |
tdf#122031 Change element order for OOXML compatibility.
Change-Id: I8cca2db6157996dd25afa4c95e769725188fdfb9
Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/66686
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Jenkins
Reviewed-on: https://gerrit.libreoffice.org/78992
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/chartexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index 5a1c4589f0b9..123f29776fc9 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -3243,6 +3243,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")) { @@ -3257,7 +3258,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)); |