From 30d94b0c40a12619d77aba5525d71538787813dc Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 11 Mar 2014 16:23:24 +0100 Subject: i#124106 testcase Change-Id: I732b4f8d758aac30e039d30e059aad0597307081 --- sw/qa/extras/ooxmlimport/data/i124106.docx | Bin 0 -> 4810 bytes sw/qa/extras/ooxmlimport/ooxmlimport.cxx | 6 ++++++ 2 files changed, 6 insertions(+) create mode 100644 sw/qa/extras/ooxmlimport/data/i124106.docx (limited to 'sw') diff --git a/sw/qa/extras/ooxmlimport/data/i124106.docx b/sw/qa/extras/ooxmlimport/data/i124106.docx new file mode 100644 index 000000000000..de1d542936ce Binary files /dev/null and b/sw/qa/extras/ooxmlimport/data/i124106.docx differ diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx index f788f92e4565..bfc8af08bea6 100644 --- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx +++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx @@ -1941,6 +1941,12 @@ DECLARE_OOXMLIMPORT_TEST(testStrictLockedcanvas, "strict-lockedcanvas.docx") getShape(1); } +DECLARE_OOXMLIMPORT_TEST(testI124106, "i124106.docx") +{ + // This was 2. + CPPUNIT_ASSERT_EQUAL(1, getPages()); +} + #endif CPPUNIT_PLUGIN_IMPLEMENT(); -- cgit