[Libreoffice-commits] core.git: svx/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Mon Nov 9 18:40:45 UTC 2020


 svx/source/table/tablelayouter.cxx |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 563f3e31268b1540a7b76889e8c558de87e5bc95
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Mon Nov 9 18:43:47 2020 +0100
Commit:     Julien Nabet <serval2412 at 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 <serval2412 at 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)))


More information about the Libreoffice-commits mailing list