sw/qa/extras/ooxmlimport/ooxmlimport.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit aa06a33946951e872b5e81d1c2bc8b7f60c861e1 Author: Justin Luth <justin_l...@sil.org> Date: Sat Jun 25 19:43:35 2016 +0300 n#766487 additional docx testcase This testcase has been a real thorn and adding this test for the first page style will make it even worse. original testcase commit b776233cba128bd7610834691da612b2b1a438a0 Change-Id: Ic9401da31849604c5afa1a511c128071bc562808 Reviewed-on: https://gerrit.libreoffice.org/26660 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx index f29304f..cdac7d0 100644 --- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx +++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx @@ -991,6 +991,10 @@ DECLARE_OOXMLIMPORT_TEST(testN780843, "n780843.docx") uno::Reference<beans::XPropertySet> xPageStyle(getStyles("PageStyles")->getByName(aStyleName), uno::UNO_QUERY); uno::Reference<text::XTextRange> xFooter = getProperty< uno::Reference<text::XTextRange> >(xPageStyle, "FooterText"); CPPUNIT_ASSERT_EQUAL(OUString("shown footer"), xFooter->getString()); + + xPara = getParagraph(1); + aStyleName = getProperty<OUString>(xPara, "PageStyleName"); + CPPUNIT_ASSERT_EQUAL(OUString("First Page"), aStyleName); } DECLARE_OOXMLIMPORT_TEST(testShadow, "imgshadow.docx")
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits