sw/qa/extras/ooxmlexport/ooxmlexport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a4f729894581f69d09bde459a348c79a9c781977
Author: Jan-Marek Glogowski <glo...@fbihome.de>
Date:   Thu Mar 20 11:30:27 2014 +0100

    Fix assertXPath in testcase for fdo#76098
    
    Change xPath as suggested by Luke Deller in
    https://gerrit.libreoffice.org/#/c/8572/.
    
    Change-Id: Ibcf2bc6cd2b35df501aeeaf143a3928603cf6038

diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx 
b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
index a7657fb..2212755 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
@@ -2865,7 +2865,7 @@ DECLARE_OOXMLEXPORT_TEST(testContentTypeXLSM, 
"fdo76098.docx")
 
     // FIXME why does this fail on Mac?
 #if !defined(MACOSX)
-    assertXPath(pXmlDoc, "/ContentType:Types/ContentType:Override[2]", 
"ContentType", "application/vnd.ms-excel.sheet.macroEnabled.12");
+    assertXPath(pXmlDoc, 
"/ContentType:Types/ContentType:Override[@PartName='/word/embeddings/Microsoft_Excel_Macro-Enabled_Worksheet1.xlsm']",
 "ContentType", "application/vnd.ms-excel.sheet.macroEnabled.12");
 #endif
 
 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to