diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-11-09 18:43:47 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-11-09 19:40:08 +0100 |
commit | 563f3e31268b1540a7b76889e8c558de87e5bc95 (patch) | |
tree | f441c84633fd21c08f239bebd65505b289e233c8 /svx | |
parent | f2eef84ff03660cbb46a76c317e640e054ed0a56 (diff) |
Fix typo
Change-Id: If69267e6ef9cc73842a6aee805d3c07b088aa9bc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105488
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/table/tablelayouter.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/table/tablelayouter.cxx b/svx/source/table/tablelayouter.cxx index 6859d0a2eee8..80d0a52f4db2 100644 --- a/svx/source/table/tablelayouter.cxx +++ b/svx/source/table/tablelayouter.cxx @@ -782,12 +782,12 @@ void TableLayouter::LayoutTableHeight( tools::Rectangle& rArea, bool bFit ) nMinHeight = xCell->getMinimumHeight(); } - // tdf#137949 We should consider "Heigth" property while calculating minimum height. - // This control decides when we use "Heigth" property value instead of calculated minimum height - // Case 1: * Row has "Heigth" property - // * Calculated minimum heigth is smaller than Height propery value. - // Case 2: * Row has "Heigth" property - // * Calculated minimum heigth is bigger than Height propery value and + // tdf#137949 We should consider "Height" property while calculating minimum height. + // This control decides when we use "Height" property value instead of calculated minimum height + // Case 1: * Row has "Height" property + // * Calculated minimum height is smaller than Height property value. + // Case 2: * Row has "Height" property + // * Calculated minimum height is bigger than Height property value and // * Row has not any text of any cell in edit mode in the row (means completely empty) if ((nMinHeight < nRowPropHeight && nRowPropHeight > 0 ) || (nMinHeight > nRowPropHeight && nRowPropHeight > 0 && (!bRowHasText && !bRowHasCellInEditMode))) |