diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2014-03-20 11:30:27 +0100 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2014-03-20 11:35:56 +0100 |
commit | a4f729894581f69d09bde459a348c79a9c781977 (patch) | |
tree | 43d18614d56b642a4a04c03e5b8cfc370598f81c /sw | |
parent | 465730622e2eb77828c1cf4845f8e8a40b92f1b2 (diff) |
Fix assertXPath in testcase for fdo#76098
Change xPath as suggested by Luke Deller in
https://gerrit.libreoffice.org/#/c/8572/.
Change-Id: Ibcf2bc6cd2b35df501aeeaf143a3928603cf6038
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx index a7657fb1e4d4..22127556de78 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 } |