diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-12-15 22:45:41 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-12-15 22:48:14 +0100 |
commit | 2263a59aaf6bc1548046fdda422518a6365ffd17 (patch) | |
tree | 02319ac6fe39d7c03618b4572a6326c1db2681d0 /sw/qa/extras/ooxmlexport/ooxmlexport4.cxx | |
parent | dc8e7db79102ba8222387aef4f581d0aa8927e6d (diff) |
sw: DOCX export: eliminate chart numbering non-determinism
... that was causing test failures on some but not all platforms.
Change-Id: I0d04cd6e540ea2693a3ec8511d615a9b0fecf456
(cherry picked from commit c56e0858b081b4dfe78745cf80c829f6c3c2e7b8)
Diffstat (limited to 'sw/qa/extras/ooxmlexport/ooxmlexport4.cxx')
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport4.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx index a4503a3ecf9d..041e54b3e85a 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx @@ -828,13 +828,13 @@ DECLARE_OOXMLEXPORT_TEST(testContentTypeXLSM, "fdo76098.docx") assertXPath(pXmlDoc, "/ContentType:Types/ContentType:Override[@PartName='/word/embeddings/Microsoft_Excel_Macro-Enabled_Worksheet1.xlsm']", "ContentType", "application/vnd.ms-excel.sheet.macroEnabled.12"); // check the rels too - xmlDocPtr pXmlDocRels = parseExport("word/charts/_rels/chart2.xml.rels"); + xmlDocPtr pXmlDocRels = parseExport("word/charts/_rels/chart1.xml.rels"); assertXPath(pXmlDocRels, "/rels:Relationships/rels:Relationship[@Target='../embeddings/Microsoft_Excel_Macro-Enabled_Worksheet1.xlsm']", "Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/package"); // check the content too - xmlDocPtr pXmlDocChart1 = parseExport("word/charts/chart2.xml"); + xmlDocPtr pXmlDocChart1 = parseExport("word/charts/chart1.xml"); assertXPath(pXmlDocChart1, "/c:chartSpace/c:externalData", "id", |