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 <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@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")