summaryrefslogtreecommitdiff
path: root/sw/qa/uibase/uiview/uiview.cxx
diff options
context:
space:
mode:
authorOliver Specht <oliver.specht@cib.de>2024-11-07 15:34:58 +0100
committerThorsten Behrens <thorsten.behrens@allotropia.de>2024-11-25 23:17:00 +0100
commit7c7e7da1538c1ed0c65821e18233ec9dcdc6cd2b (patch)
treeb16b284af296485a6d1504408ad4896582ccee4c /sw/qa/uibase/uiview/uiview.cxx
parent29a95e4b9051ee35b063b88ac4d80d81f78eca85 (diff)
tdf#152839 remove paragraph spacing attributes in fill cells
Invisible cells in Word are added to Writer tables to get regular tables. Borders of such cells are allready switched off. Now also paragraph spacing is removed to not determine the row height. Change-Id: I27d3d033de54f051527cf29e2655e7a564d1a5ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176219 Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de> Tested-by: Jenkins
Diffstat (limited to 'sw/qa/uibase/uiview/uiview.cxx')
-rw-r--r--sw/qa/uibase/uiview/uiview.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sw/qa/uibase/uiview/uiview.cxx b/sw/qa/uibase/uiview/uiview.cxx
index 531d4d351432..486219215581 100644
--- a/sw/qa/uibase/uiview/uiview.cxx
+++ b/sw/qa/uibase/uiview/uiview.cxx
@@ -314,13 +314,9 @@ CPPUNIT_TEST_FIXTURE(SwUibaseUiviewTest, TestTdf152839_Formtext)
createSwDoc("tdf152839_formtext.rtf");
xmlDocUniquePtr pXmlDoc = parseLayoutDump();
- sal_Int32 nBottom
- = getXPath(pXmlDoc, "/root/page[1]/body/tab[1]/row[2]/cell[1]/infos/bounds", "bottom")
- .toInt32();
sal_Int32 nHeight
= getXPath(pXmlDoc, "/root/page[1]/body/tab[1]/row[2]/cell[1]/txt/infos/bounds", "height")
.toInt32();
- CPPUNIT_ASSERT_EQUAL(sal_Int32(2308), nBottom);
CPPUNIT_ASSERT_EQUAL(sal_Int32(723), nHeight);
}