[Libreoffice-commits] core.git: sw/qa

Miklos Vajna vmiklos at collabora.co.uk
Thu May 8 23:49:43 PDT 2014


 sw/qa/extras/ooxmlexport/data/fdo71834.docx |binary
 sw/qa/extras/ooxmlexport/ooxmlexport.cxx    |    2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d5874376a7db53a4b0e8b3fabb902d14639032cc
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Fri May 9 08:40:10 2014 +0200

    fdo#71834 make reproducer document more minimal
    
    1,5M -> 21K without loosing anything interesting.
    
    Change-Id: I145612b9242dd6570e0b4e90f85171b177214500

diff --git a/sw/qa/extras/ooxmlexport/data/fdo71834.docx b/sw/qa/extras/ooxmlexport/data/fdo71834.docx
index 62262d9..1545334 100644
Binary files a/sw/qa/extras/ooxmlexport/data/fdo71834.docx and b/sw/qa/extras/ooxmlexport/data/fdo71834.docx differ
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
index 42e25c7..4f0a329 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
@@ -2181,7 +2181,7 @@ DECLARE_OOXMLEXPORT_TEST(testFDO71834, "fdo71834.docx")
     xmlDocPtr pXmlDoc = parseExport("word/document.xml");
     if (!pXmlDoc)
         return;
-    assertXPath(pXmlDoc, "/w:document/w:body/w:tbl[4]/w:tr[2]/w:tc[1]/w:tcPr[1]/w:tcW[1]","type", "dxa");
+    assertXPath(pXmlDoc, "/w:document/w:body/w:tbl[1]/w:tr[2]/w:tc[1]/w:tcPr[1]/w:tcW[1]","type", "dxa");
 }
 
 DECLARE_OOXMLEXPORT_TEST(testFieldFlagO,"TOC_field_f.docx")


More information about the Libreoffice-commits mailing list