diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-02-13 10:20:54 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-02-13 10:25:17 +0100 |
commit | 08ab57473236b0a34917d8c24c56f157e9ae5be6 (patch) | |
tree | e5bfc995a338f42c2cb2a716b03fb11376869654 /sw | |
parent | 4d34d43b29be2b14a02b001b35fcde2459fb1993 (diff) |
CppunitTest_sw_ooxmlimport: make this actually test something again
Change-Id: I05d8b0dafcdea68d57137873ea52d4ab28a9b12b
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/ooxmlimport/ooxmlimport.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx index c9d578b359e9..3b3a227c63d2 100644 --- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx +++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx @@ -1339,11 +1339,10 @@ DECLARE_OOXMLIMPORT_TEST(testFdo65632, "fdo65632.docx") DECLARE_OOXMLIMPORT_TEST(testFdo66474, "fdo66474.docx") { - // The table wasn't relative (relative with was 0), so the table didn't - // take the full available width, like it would have to. + // The table width was too small, so the text in the second cell was unreadable: this was 1397. uno::Reference<text::XTextTablesSupplier> xTablesSupplier(mxComponent, uno::UNO_QUERY); uno::Reference<container::XIndexAccess> xTables(xTablesSupplier->getTextTables( ), uno::UNO_QUERY); - CPPUNIT_ASSERT_EQUAL(sal_Int16(0), getProperty<sal_Int16>(xTables->getByIndex(0), "RelativeWidth")); + CPPUNIT_ASSERT_EQUAL(sal_Int32(10492), getProperty<sal_Int32>(xTables->getByIndex(0), "Width")); } DECLARE_OOXMLIMPORT_TEST(testGroupshapeRotation, "groupshape-rotation.docx") |