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

Johnny_M klasse at partyheld.de
Tue Nov 21 05:12:10 UTC 2017


 editeng/source/items/numitem.cxx |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 0220520609b7e67fdbe22e641d9dd5c027ee3d75
Author: Johnny_M <klasse at partyheld.de>
Date:   Sat Nov 18 22:51:54 2017 +0100

    Translate German variable name
    
    Change-Id: I70f9355bc7f219e8d6aaf9fb8ecc356e1a86d9da
    Reviewed-on: https://gerrit.libreoffice.org/44921
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Jens Carl <j.carl43 at gmx.de>

diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx
index cf26cb20231e..fbf89dceaef0 100644
--- a/editeng/source/items/numitem.cxx
+++ b/editeng/source/items/numitem.cxx
@@ -507,18 +507,18 @@ OUString SvxNumberFormat::CreateRomanString( sal_uLong nNo, bool bUpper )
     sal_uInt16 nMask = 1000;
     while( nMask )
     {
-        sal_uInt8 nZahl = sal_uInt8(nNo / nMask);
+        sal_uInt8 nNumber = sal_uInt8(nNo / nMask);
         sal_uInt8 nDiff = 1;
         nNo %= nMask;
 
-        if( 5 < nZahl )
+        if( 5 < nNumber )
         {
-            if( nZahl < 9 )
+            if( nNumber < 9 )
                 sRet += OUString(*(cRomanArr-1));
             ++nDiff;
-            nZahl -= 5;
+            nNumber -= 5;
         }
-        switch( nZahl )
+        switch( nNumber )
         {
         case 3:     { sRet += OUString(*cRomanArr); SAL_FALLTHROUGH; }
         case 2:     { sRet += OUString(*cRomanArr); SAL_FALLTHROUGH; }


More information about the Libreoffice-commits mailing list