diff options
-rw-r--r-- | sw/qa/extras/ooxmlimport/data/fdo38414.docx | bin | 0 -> 21800 bytes | |||
-rw-r--r-- | sw/qa/extras/ooxmlimport/ooxmlimport.cxx | 7 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlimport/data/fdo38414.docx b/sw/qa/extras/ooxmlimport/data/fdo38414.docx Binary files differnew file mode 100644 index 000000000000..135cd32c981e --- /dev/null +++ b/sw/qa/extras/ooxmlimport/data/fdo38414.docx diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx index e47a20820dfb..87571c81f9cc 100644 --- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx +++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx @@ -1997,6 +1997,13 @@ DECLARE_OOXMLIMPORT_TEST(testLargeTwips, "large-twips.docx" ) CPPUNIT_ASSERT( width.toInt32() > 0 ); } +DECLARE_OOXMLIMPORT_TEST(testFdo38414, "fdo38414.docx" ) +{ + // The cells in the last (4th) column were merged properly and so the result didn't have the same height. + OUString height3 = parseDump("/root/page/body/tab/row[1]/cell[3]/infos/bounds", "height" ); + OUString height4 = parseDump("/root/page/body/tab/row[1]/cell[4]/infos/bounds", "height" ); + CPPUNIT_ASSERT_EQUAL( height3, height4 ); +} #endif CPPUNIT_PLUGIN_IMPLEMENT(); |