Kaydet (Commit) 61ad374e authored tarafından Kohei Yoshida's avatar Kohei Yoshida

This assumption doesn't hold on all build environments.

Change-Id: Ie1f56aed91e7cbfc59e254a111991f958e9a1607
üst 0acd0ed3
...@@ -2146,7 +2146,10 @@ DECLARE_OOXMLIMPORT_TEST(testFdo78883, "fdo78883.docx") ...@@ -2146,7 +2146,10 @@ DECLARE_OOXMLIMPORT_TEST(testFdo78883, "fdo78883.docx")
uno::Reference<text::XTextViewCursorSupplier> xTextViewCursorSupplier(xModel->getCurrentController(), uno::UNO_QUERY); uno::Reference<text::XTextViewCursorSupplier> xTextViewCursorSupplier(xModel->getCurrentController(), uno::UNO_QUERY);
uno::Reference<text::XPageCursor> xCursor(xTextViewCursorSupplier->getViewCursor(), uno::UNO_QUERY); uno::Reference<text::XPageCursor> xCursor(xTextViewCursorSupplier->getViewCursor(), uno::UNO_QUERY);
xCursor->jumpToLastPage(); xCursor->jumpToLastPage();
CPPUNIT_ASSERT_EQUAL(sal_Int16(1), xCursor->getPage());
// Check to make sure the document loaded. Note that the page number may
// be 1 or 2 depending on the environment.
CPPUNIT_ASSERT(xCursor->getPage() > sal_Int16(0));
} }
DECLARE_OOXMLIMPORT_TEST(testFdo79535, "fdo79535.docx") DECLARE_OOXMLIMPORT_TEST(testFdo79535, "fdo79535.docx")
......
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