From c401aa9f632758157021c2c45c5cc4d00ee12dab Mon Sep 17 00:00:00 2001 From: Bakos Attila Date: Tue, 5 Nov 2019 15:30:22 +0100 Subject: tdf124367 DOCX import: fix rounding error in table cell widths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Follow-up of commit 29cbbad64088354425c606f9eb6c267bdf7731dc (DOCX import: fix rounding error in table cell widths), its revert in commit e502463fa9a601963aa9f5a8783eb1318de36c13 (tdf#123104 DOCX import: fix lack of vertical merge due to rounding) and commit 44e44239de35c1548809c96e13bfa9d64c7ca441 (tdf#120315 DOCX import: fix cells merged vertically). Change-Id: Id85e8fd25dba26af77fe2fd3024db2ae834b5052 Reviewed-on: https://gerrit.libreoffice.org/82072 Reviewed-by: László Németh Tested-by: László Németh Tested-by: Jenkins --- sw/qa/extras/rtfimport/rtfimport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/qa/extras/rtfimport/rtfimport.cxx') diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx index d13ba58410f2..ce693e11f717 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -471,7 +471,7 @@ CPPUNIT_TEST_FIXTURE(Test, testFdo55525) CPPUNIT_ASSERT_EQUAL(sal_Int32(-1877), getProperty(xTable, "LeftMargin")); // Cell width of A1 was 3332 (e.g. not set, 30% percent of total width) uno::Reference xTableRows = xTable->getRows(); - CPPUNIT_ASSERT_EQUAL(sal_Int16(896), getProperty>( + CPPUNIT_ASSERT_EQUAL(sal_Int16(897), getProperty>( xTableRows->getByIndex(0), "TableColumnSeparators")[0] .Position); } -- cgit v1.2.3