Kaydet (Commit) 3e92847d authored tarafından Miklos Vajna's avatar Miklos Vajna

fdo#76248 make the test fail without the fix

Change-Id: I26d27bfaafb83ee3ae74ce64bf72146b157ed7db
üst 79747314
......@@ -2880,11 +2880,11 @@ DECLARE_OOXMLEXPORT_TEST(testSimpleSdts, "simple-sdts.docx")
DECLARE_OOXMLEXPORT_TEST(testFDO76248, "FDO76248.docx")
{
uno::Reference<frame::XModel> xModel(mxComponent, uno::UNO_QUERY);
uno::Reference<text::XTextViewCursorSupplier> xTextViewCursorSupplier(xModel->getCurrentController(), uno::UNO_QUERY);
uno::Reference<text::XPageCursor> xCursor(xTextViewCursorSupplier->getViewCursor(), uno::UNO_QUERY);
xCursor->jumpToLastPage();
CPPUNIT_ASSERT_EQUAL(sal_Int16(3), xCursor->getPage());
xmlDocPtr pXmlDoc = parseExport("word/document.xml");
if (!pXmlDoc)
return;
// In two cases the a:graphicData elements had no children, which is invalid.
assertXPath(pXmlDoc, "//a:graphicData[not(*)]", 0);
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment