i18npool/source/search/textsearch.cxx |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

New commits:
commit 3a1a27b1c25c96632b7bb1cfa81ca204e5bc043c
Author:     Johnny_M <kla...@partyheld.de>
AuthorDate: Fri Mar 27 13:20:41 2020 +0100
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Tue Mar 31 15:27:21 2020 +0200

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

diff --git a/i18npool/source/search/textsearch.cxx 
b/i18npool/source/search/textsearch.cxx
index da4d9cada678..1c74a085a03d 100644
--- a/i18npool/source/search/textsearch.cxx
+++ b/i18npool/source/search/textsearch.cxx
@@ -685,15 +685,15 @@ SearchResult TextSearch::NSrchFrwrd( const OUString& 
searchStr, sal_Int32 startP
     OUString sSearchKey = bUsePrimarySrchStr ? sSrchStr : sSrchStr2;
 
     sal_Int32 nSuchIdx = searchStr.getLength();
-    sal_Int32 nEnde = endPos;
+    sal_Int32 nEnd = endPos;
     if( !nSuchIdx || !sSearchKey.getLength() || sSearchKey.getLength() > 
nSuchIdx )
         return aRet;
 
 
-    if( nEnde < sSearchKey.getLength() )  // position inside the search region 
?
+    if( nEnd < sSearchKey.getLength() )   // position inside the search region 
?
         return aRet;
 
-    nEnde -= sSearchKey.getLength();
+    nEnd -= sSearchKey.getLength();
 
     if (bUsePrimarySrchStr)
       MakeForwardTab();                   // create the jumptable
@@ -701,7 +701,7 @@ SearchResult TextSearch::NSrchFrwrd( const OUString& 
searchStr, sal_Int32 startP
       MakeForwardTab2();
 
     for (sal_Int32 nCmpIdx = startPos; // start position for the search
-            nCmpIdx <= nEnde;
+            nCmpIdx <= nEnd;
             nCmpIdx += GetDiff( searchStr[nCmpIdx + sSearchKey.getLength()-1]))
     {
         // if the match would be the completed cells, skip it.
@@ -755,7 +755,7 @@ SearchResult TextSearch::NSrchBkwrd( const OUString& 
searchStr, sal_Int32 startP
     OUString sSearchKey = bUsePrimarySrchStr ? sSrchStr : sSrchStr2;
 
     sal_Int32 nSuchIdx = searchStr.getLength();
-    sal_Int32 nEnde = endPos;
+    sal_Int32 nEnd = endPos;
     if( nSuchIdx == 0 || sSearchKey.isEmpty() || sSearchKey.getLength() > 
nSuchIdx)
         return aRet;
 
@@ -764,14 +764,14 @@ SearchResult TextSearch::NSrchBkwrd( const OUString& 
searchStr, sal_Int32 startP
     else
         MakeBackwardTab2();
 
-    if( nEnde == nSuchIdx )                 // end position for the search
-        nEnde = sSearchKey.getLength();
+    if( nEnd == nSuchIdx )                  // end position for the search
+        nEnd = sSearchKey.getLength();
     else
-        nEnde += sSearchKey.getLength();
+        nEnd += sSearchKey.getLength();
 
     sal_Int32 nCmpIdx = startPos;          // start position for the search
 
-    while (nCmpIdx >= nEnde)
+    while (nCmpIdx >= nEnd)
     {
         // if the match would be the completed cells, skip it.
         if ( (!checkCTLStart || isCellStart( searchStr, nCmpIdx -
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to