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

Johnny_M klasse at partyheld.de
Mon Feb 5 08:54:15 UTC 2018


 sw/source/core/crsr/findtxt.cxx |   20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

New commits:
commit f51ce842a6ac994f68bff453cf97d64dbc29b1ec
Author: Johnny_M <klasse at partyheld.de>
Date:   Sun Feb 4 00:12:30 2018 +0100

    Translate German variable names
    
    Akt -> Current in crsr
    
    Change-Id: Icdcba2c34c6b76e6a5232a526caeb77a294404ff
    Reviewed-on: https://gerrit.libreoffice.org/49190
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sw/source/core/crsr/findtxt.cxx b/sw/source/core/crsr/findtxt.cxx
index 5ea33060dae6..cf98da007ba4 100644
--- a/sw/source/core/crsr/findtxt.cxx
+++ b/sw/source/core/crsr/findtxt.cxx
@@ -115,7 +115,7 @@ lcl_CleanStr(const SwTextNode& rNd, sal_Int32 const nStart, sal_Int32& rEnd,
         else
             break;
 
-        const sal_Int32 nAkt = nStt - rArr.size();
+        const sal_Int32 nCurrent = nStt - rArr.size();
 
         if ( bNewHint )
         {
@@ -141,17 +141,17 @@ lcl_CleanStr(const SwTextNode& rNd, sal_Int32 const nStart, sal_Int32& rEnd,
                         // end (might be normal 0x7f).
                         const bool bEmpty = pHt->Which() != RES_TXTATR_FIELD
                             || (static_txtattr_cast<SwTextField const*>(pHt)->GetFormatField().GetField()->ExpandField(true).isEmpty());
-                        if ( bEmpty && nStart == nAkt )
+                        if ( bEmpty && nStart == nCurrent )
                         {
-                            rArr.push_back( nAkt );
+                            rArr.push_back( nCurrent );
                             --rEnd;
-                            buf.remove(nAkt, 1);
+                            buf.remove(nCurrent, 1);
                         }
                         else
                         {
                             if ( bEmpty )
-                                aReplaced.push_back( nAkt );
-                            buf[nAkt] = '\x7f';
+                                aReplaced.push_back( nCurrent );
+                            buf[nCurrent] = '\x7f';
                         }
                     }
                     break;
@@ -159,9 +159,9 @@ lcl_CleanStr(const SwTextNode& rNd, sal_Int32 const nStart, sal_Int32& rEnd,
                     {
                         if( bRemoveCommentAnchors )
                         {
-                            rArr.push_back( nAkt );
+                            rArr.push_back( nCurrent );
                             --rEnd;
-                            buf.remove( nAkt, 1 );
+                            buf.remove( nCurrent, 1 );
                         }
                     }
                     break;
@@ -175,9 +175,9 @@ lcl_CleanStr(const SwTextNode& rNd, sal_Int32 const nStart, sal_Int32& rEnd,
 
         if ( bNewSoftHyphen )
         {
-            rArr.push_back( nAkt );
+            rArr.push_back( nCurrent );
             --rEnd;
-            buf.remove(nAkt, 1);
+            buf.remove(nCurrent, 1);
             ++nSoftHyphen;
         }
     }


More information about the Libreoffice-commits mailing list