summaryrefslogtreecommitdiffstats
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-06-13 21:55:39 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-06-13 22:09:32 +0200
commit54148d634d497dc0682399006890d77341402b42 (patch)
tree729dc65388d529627532528cd446268fad53fa8c /sw
parentSwXShape: getter for ChainNext/PrevName UNO property (diff)
downloadcore-54148d634d497dc0682399006890d77341402b42.tar.gz
core-54148d634d497dc0682399006890d77341402b42.zip
CppunitTest_sw_ooxmlsdrexport: clean up XPath expressions in testFDO77122
Change-Id: I1f8737bbe128c747c84c67e8ba8000ecef1ed4f7
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx
index ee40f9ee3928..515723411816 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx
@@ -1482,8 +1482,8 @@ DECLARE_OOXMLEXPORT_TEST(testFDO77122, "LinkedTextBoxes.docx")
if (!pXmlDoc)
return;
//ensure that the text box links are preserved.
- assertXPath(pXmlDoc, "/w:document/w:body/w:p/w:r[2]/mc:AlternateContent/mc:Choice/w:drawing/wp:anchor/a:graphic/a:graphicData[1]/wps:wsp[1]/wps:txbx[1]", "id", "1");
- assertXPath(pXmlDoc, "/w:document[1]/w:body[1]/w:p[1]/w:r[3]/mc:AlternateContent[1]/mc:Choice[1]/w:drawing[1]/wp:anchor[1]/a:graphic[1]/a:graphicData[1]/wps:wsp[1]/wps:linkedTxbx[1]", "id", "1");
+ assertXPath(pXmlDoc, "//wps:txbx[1]", "id", "1");
+ assertXPath(pXmlDoc, "//wps:linkedTxbx[1]", "id", "1");
}
DECLARE_OOXMLEXPORT_TEST(test76734_2K7, "test76734_2K7.docx")