diff options
author | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2014-03-19 19:29:18 +0100 |
---|---|---|
committer | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2014-03-20 10:28:23 +0100 |
commit | 876f1cf9bfcbd9f0e578aea6e2a96443ecf823fd (patch) | |
tree | 5f222a7e9ba72bb985f739fcab0eb48455656e60 /sw | |
parent | 692fd140706c9366ee46c651813887c67d5b4a97 (diff) |
ooxml: Fix testSimpleSdts
Change-Id: Iefd8de05107c6e9ad1dec04711ee3fd8e4c05b17
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx index 8c4c21bfefa3..9b0e110cc595 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx @@ -2898,9 +2898,9 @@ DECLARE_OOXMLEXPORT_TEST(testSimpleSdts, "simple-sdts.docx") if (!pXmlDoc) return; - assertXPath(pXmlDoc, "/w:body/w:sdt/w:sdtPr/w:picture", 0); - assertXPath(pXmlDoc, "/w:body/w:sdt/w:sdtPr/w:group", 0); - assertXPath(pXmlDoc, "/w:body/w:sdt/w:sdtPr/w:citation", 0); + assertXPath(pXmlDoc, "/w:document/w:body/w:sdt/w:sdtPr/w:picture", 1); + assertXPath(pXmlDoc, "/w:document/w:body/w:sdt/w:sdtPr/w:group", 1); + assertXPath(pXmlDoc, "/w:document/w:body/w:sdt/w:sdtPr/w:citation", 1); } |