[Libreoffice-commits] core.git: sw/qa
Justin Luth
justin_luth at sil.org
Mon May 22 19:15:49 UTC 2017
sw/qa/extras/ooxmlexport/ooxmlexport3.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 71229da3cb05fc8f3e94fe6a6a5d9ad43cdf8702
Author: Justin Luth <justin_luth at sil.org>
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 <ci at libreoffice.org>
Reviewed-by: Justin Luth <justin_luth at sil.org>
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")
More information about the Libreoffice-commits
mailing list