[Libreoffice-commits] core.git: sw/qa
Jan-Marek Glogowski
glogow at fbihome.de
Thu Mar 20 03:36:54 PDT 2014
sw/qa/extras/ooxmlexport/ooxmlexport.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a4f729894581f69d09bde459a348c79a9c781977
Author: Jan-Marek Glogowski <glogow at 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
}
More information about the Libreoffice-commits
mailing list