Translate German variable names

Ende -> End

Change-Id: Ia3df5ee48e0d61051d99ac93e62c8a6dceafb41d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91218
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
This commit is contained in:
Johnny_M 2020-03-27 14:14:11 +01:00 committed by Michael Weghorn
parent 474a96a774
commit fd7e4706d8
2 changed files with 5 additions and 5 deletions

View file

@ -183,7 +183,7 @@ public:
/* search in the (selected) text the search string:
rScrTxt - the text, in which we search
pStart - start position for the search
pEnde - end position for the search
pEnd - end position for the search
RETURN values == true: something is found
- pStart start pos of the found text,
@ -192,7 +192,7 @@ public:
positions. Is only filled with more positions
if the regular expression handles groups.
== false: nothing found, pStart,pEnde unchanged.
== false: nothing found, pStart, pEnd unchanged.
Definitions: start pos always inclusive, end pos always exclusive!
The position must always in the right direction!

View file

@ -274,14 +274,14 @@ bool TextSearch::searchForward( const OUString &rStr )
}
bool TextSearch::SearchBackward( const OUString & rStr, sal_Int32* pStart,
sal_Int32* pEnde, SearchResult* pRes )
sal_Int32* pEnd, SearchResult* pRes )
{
bool bRet = false;
try
{
if( xTextSearch.is() )
{
SearchResult aRet( xTextSearch->searchBackward( rStr, *pStart, *pEnde ));
SearchResult aRet( xTextSearch->searchBackward( rStr, *pStart, *pEnd ));
if( aRet.subRegExpressions )
{
bRet = true;
@ -289,7 +289,7 @@ bool TextSearch::SearchBackward( const OUString & rStr, sal_Int32* pStart,
// and the endposition is always exclusive.
// The caller of this function will have in startPos the
// lower pos. and end
*pEnde = aRet.startOffset[ 0 ];
*pEnd = aRet.startOffset[ 0 ];
*pStart = aRet.endOffset[ 0 ];
if( pRes )
*pRes = aRet;