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

New commits:
commit 1422466fcbd4f1dc716d5680e220f0a0538a9f35
Author:     Johnny_M <kla...@partyheld.de>
AuthorDate: Fri Mar 27 13:23:48 2020 +0100
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Mon Mar 30 11:51:44 2020 +0200

    Translate German variable names
    
    Ende -> End
    
    Change-Id: Idfcc563c461b604892f6a24c62677e8069bee28f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91208
    Tested-by: Jenkins
    Reviewed-by: Michael Weghorn <m.wegh...@posteo.de>

diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 6fffdb37f1b0..724902d31120 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -1558,7 +1558,7 @@ OUString 
SvxAutoCorrect::GetPrevAutoCorrWord(SvxAutoCorrDoc const& rDoc, const O
     if( !nPos )
         return sRet;
 
-    sal_Int32 nEnde = nPos;
+    sal_Int32 nEnd = nPos;
 
     // it must be followed by a blank or tab!
     if( ( nPos < rTxt.getLength() &&
@@ -1576,20 +1576,20 @@ OUString 
SvxAutoCorrect::GetPrevAutoCorrWord(SvxAutoCorrDoc const& rDoc, const O
         --nCapLttrPos;          // Beginning of pargraph and no Blank!
 
     while( lcl_IsInAsciiArr( sImplSttSkipChars, rTxt[ nCapLttrPos ]) )
-        if( ++nCapLttrPos >= nEnde )
+        if( ++nCapLttrPos >= nEnd )
             return sRet;
 
-    if( 3 > nEnde - nCapLttrPos )
+    if( 3 > nEnd - nCapLttrPos )
         return sRet;
 
     const LanguageType eLang = GetDocLanguage( rDoc, nCapLttrPos );
 
     CharClass& rCC = GetCharClass(eLang);
 
-    if( lcl_IsSymbolChar( rCC, rTxt, nCapLttrPos, nEnde ))
+    if( lcl_IsSymbolChar( rCC, rTxt, nCapLttrPos, nEnd ))
         return sRet;
 
-    sRet = rTxt.copy( nCapLttrPos, nEnde - nCapLttrPos );
+    sRet = rTxt.copy( nCapLttrPos, nEnd - nCapLttrPos );
     return sRet;
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to