diff options
author | Justin Luth <justin_luth@sil.org> | 2017-05-22 14:24:49 +0300 |
---|---|---|
committer | Justin Luth <justin_luth@sil.org> | 2017-05-22 21:14:23 +0200 |
commit | a9118665637dafddd41ca549d0f73948cf1d332c (patch) | |
tree | 6ebb643660371f67a00769bf83ad22495bdefd45 | |
parent | 6b417ec3daaec72c736fcfe0d980ce205e589633 (diff) |
tdf#99227: remove unneeded specificity in unit test
The unit test should only be ensuring that the drawing is in
the footnote, not that it is located in the 5th character portion.
Change-Id: I58040dc3498b2e78000891a26b7188dfac6c72f7
Reviewed-on: https://gerrit.libreoffice.org/37906
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Justin Luth <justin_luth@sil.org>
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport9.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx index d38a6ff46364..d2f4aad276aa 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx @@ -461,7 +461,7 @@ DECLARE_OOXMLEXPORT_TEST(testTdf99227, "tdf99227.docx") if (!pXmlDoc) return; - assertXPath(pXmlDoc, "//w:footnote[3]/w:p/w:r[5]/w:drawing", 1); + assertXPath(pXmlDoc, "//w:footnote/w:p/w:r/w:drawing", 1); } DECLARE_OOXMLEXPORT_TEST(testTdf104162, "tdf104162.docx") |