editeng/source/items/textitem.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 3aecdee689cdf49815d55c9c7935805d51ea7c53
Author:     Bogdan Buzea <buzea.bog...@libreoffice.org>
AuthorDate: Wed Nov 6 22:27:47 2024 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Tue Nov 12 16:07:04 2024 +0100

    tdf#163486: Improve comments
    
    Change-Id: I2a892e1b3dd8cfbc1501b1e4c40977ee6b7239bf
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176078
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/editeng/source/items/textitem.cxx 
b/editeng/source/items/textitem.cxx
index 59cb17053a72..3931dd8176be 100644
--- a/editeng/source/items/textitem.cxx
+++ b/editeng/source/items/textitem.cxx
@@ -811,9 +811,8 @@ static sal_uInt32 lcl_GetRealHeight_Impl(sal_uInt32 
nHeight, sal_uInt16 nProp, M
             break;
         }
         case MapUnit::Map100thMM:
-        //then the core is surely also in 1/100 mm
         case MapUnit::MapTwip:
-        // Here surely TWIP
+            // In both cases, the units match core
             nDiff = static_cast<short>(nProp);
             break;
         default:

Reply via email to