svx/source/table/tablelayouter.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
New commits: commit 563f3e31268b1540a7b76889e8c558de87e5bc95 Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Mon Nov 9 18:43:47 2020 +0100 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Mon Nov 9 19:40:08 2020 +0100 Fix typo Change-Id: If69267e6ef9cc73842a6aee805d3c07b088aa9bc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105488 Reviewed-by: Julien Nabet <serval2...@yahoo.fr> Tested-by: Jenkins 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))) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits