sw/qa/extras/ooxmlexport/ooxmlexport3.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 71229da3cb05fc8f3e94fe6a6a5d9ad43cdf8702 Author: Justin Luth <[email protected]> Date: Mon May 22 15:33:29 2017 +0300 remove unneeded specificity in unit test The unit test should only be ensuring that the footnote is actually written in the footnote section. The fix had nothing to do with the style of the footnote. Change-Id: I209f1f0a8cf896916eaf7e8002c92085926b508b Reviewed-on: https://gerrit.libreoffice.org/37907 Tested-by: Jenkins <[email protected]> Reviewed-by: Justin Luth <[email protected]> diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx index ea7135058c53..c56c5f7ed5c9 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx @@ -816,7 +816,7 @@ DECLARE_OOXMLEXPORT_TEST(testFootnoteParagraphTag, "testFootnote.docx") if (!pXmlFootnotes) return; assertXPath(pXmlFootnotes, "/w:footnotes/w:footnote[3]","id","2"); - assertXPath(pXmlFootnotes, "/w:footnotes/w:footnote[3]/w:p/w:r/w:rPr/w:rStyle","val","Footnotereference"); + assertXPath(pXmlFootnotes, "/w:footnotes/w:footnote[3]/w:p/w:r/w:footnoteRef", 1); } DECLARE_OOXMLEXPORT_TEST(testSpacingLineRule,"table_lineRule.docx") _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
