sw/source/core/layout/fly.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 264bfc974d3e6f7f2bb50ce231a4d2792782596d
Author:     Andrea Gelmini <andrea.gelm...@gelma.net>
AuthorDate: Wed Jun 19 17:25:17 2024 +0200
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Wed Jun 19 22:49:24 2024 +0200

    Fix typo
    
    Change-Id: I7a3ee45fd6e52f3313c69da15b1eda75e3b21c67
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169229
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>
    Tested-by: Jenkins

diff --git a/sw/source/core/layout/fly.cxx b/sw/source/core/layout/fly.cxx
index 8bef565a5f4f..0ed011effe79 100644
--- a/sw/source/core/layout/fly.cxx
+++ b/sw/source/core/layout/fly.cxx
@@ -2445,7 +2445,7 @@ bool SwFlyFrame::IsResizeValid(const SwBorderAttrs 
*pAttrs, Size aTargetSize)
 
     /**
     if (either AutoSizeWidth or AutoSizeHeight, not both),
-        if the autosize dimention goes smaller than min value and the other 
dimention changed
+        if the autosize dimension goes smaller than min value and the other 
dimension changed
             return valid
         else
             remember invalid
@@ -2487,8 +2487,8 @@ bool SwFlyFrame::IsResizeValid(const SwBorderAttrs 
*pAttrs, Size aTargetSize)
     }
 
     // if not valid resize, and both AutoSizeWidth and AutoSizeHeight,
-    // then consider resize is valid if any one of the dimentions was changed 
from it's original size
-    // (the frame's dimentions), and the destination dimention is a valid one.
+    // then consider resize is valid if any one of the dimensions was changed 
from it's original size
+    // (the frame's dimensions), and the destination dimension is a valid one.
     if (bAutosizeWidth && bAutosizeHeight && !bIsValidResize)
     {
         return (aTargetSize.Width() != aFrameSize.Width() && 
aTargetSize.Width() >= nMinFrameWidth) ||

Reply via email to