summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
Diffstat (limited to 'svx')
-rw-r--r--svx/source/table/tablelayouter.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/svx/source/table/tablelayouter.cxx b/svx/source/table/tablelayouter.cxx
index 0c517707f4f8..87bd4436e7f3 100644
--- a/svx/source/table/tablelayouter.cxx
+++ b/svx/source/table/tablelayouter.cxx
@@ -766,6 +766,11 @@ void TableLayouter::LayoutTableHeight( tools::Rectangle& rArea, bool bFit )
}
else
{
+ // WARNING: tdf#144092 / tdf#139511 suggest this entire section is invalid.
+ // Empty cells should not be ignored in regards to row height,
+ // especially MS formats, despite this code being added to import MS files...
+ // The problem is getMinimumHeight can give wrong values for empty cells.
+
bool bCellHasText = xCell->hasText();
bool bCellInEditMode = xCell->IsTextEditActive();