summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2014-04-21 19:25:43 +0200
committerLuboš Luňák <l.lunak@collabora.com>2014-04-21 19:25:43 +0200
commitac66504fb119bfbbac3076d6e2fe875ec2e2ff89 (patch)
treefa1effdc5184d2e0dd49bd49265216c63456a01b /sw/qa
parenta859ff2db69457cc98c257d377f68c8786c50fa2 (diff)
Revert "handle properly page breaks even if a page contains only a frame (fdo#55381)"
I didn't mean to push without review. This reverts commit a859ff2db69457cc98c257d377f68c8786c50fa2.
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/extras/ooxmlimport/data/fdo55381.docxbin4710 -> 0 bytes
-rw-r--r--sw/qa/extras/ooxmlimport/ooxmlimport.cxx9
2 files changed, 0 insertions, 9 deletions
diff --git a/sw/qa/extras/ooxmlimport/data/fdo55381.docx b/sw/qa/extras/ooxmlimport/data/fdo55381.docx
deleted file mode 100644
index ffeae1f874eb..000000000000
--- a/sw/qa/extras/ooxmlimport/data/fdo55381.docx
+++ /dev/null
Binary files differ
diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
index 6c2f3a725bca..1c8665b7a480 100644
--- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
@@ -1645,15 +1645,6 @@ DECLARE_OOXMLIMPORT_TEST(testStrictLockedcanvas, "strict-lockedcanvas.docx")
getShape(1);
}
-DECLARE_OOXMLIMPORT_TEST(testFdo55381, "fdo55381.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(4), xCursor->getPage());
-}
-
#endif
CPPUNIT_PLUGIN_IMPLEMENT();