diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-03-11 16:23:24 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-03-11 16:37:46 +0100 |
commit | 30d94b0c40a12619d77aba5525d71538787813dc (patch) | |
tree | dfda08830a0c02dfb1f1b81511684d12a0e6d186 /sw | |
parent | aeba9c26898ae7b6da814cf012a7c348e64393d7 (diff) |
i#124106 testcase
Change-Id: I732b4f8d758aac30e039d30e059aad0597307081
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/ooxmlimport/data/i124106.docx | bin | 0 -> 4810 bytes | |||
-rw-r--r-- | sw/qa/extras/ooxmlimport/ooxmlimport.cxx | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlimport/data/i124106.docx b/sw/qa/extras/ooxmlimport/data/i124106.docx Binary files differnew file mode 100644 index 000000000000..de1d542936ce --- /dev/null +++ b/sw/qa/extras/ooxmlimport/data/i124106.docx 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(); |