summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorJohnny_M <klasse@partyheld.de>2020-03-27 13:20:41 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2020-03-31 15:27:21 +0200
commit3a1a27b1c25c96632b7bb1cfa81ca204e5bc043c (patch)
tree8f145af5c17977e4d4311f19ab4281d05b416622 /i18npool
parent3db98c3b7a28e101f617525fb00cf9c05da53025 (diff)
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.weghorn@posteo.de>
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/search/textsearch.cxx18
1 files changed, 9 insertions, 9 deletions
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 -