summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny_M <klasse@partyheld.de>2020-03-27 14:14:11 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2020-03-31 15:36:50 +0200
commitfd7e4706d80d1769803b7b4ac57df4c80a5c80f2 (patch)
tree1b4515adbe8036f6a9c5cd82506a36b993a5105a
parent474a96a7743466ed5c9e225f9bec977447e5c152 (diff)
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>
-rw-r--r--include/unotools/textsearch.hxx4
-rw-r--r--unotools/source/i18n/textsearch.cxx6
2 files changed, 5 insertions, 5 deletions
diff --git a/include/unotools/textsearch.hxx b/include/unotools/textsearch.hxx
index 14a9558f237e..68af444d8023 100644
--- a/include/unotools/textsearch.hxx
+++ b/include/unotools/textsearch.hxx
@@ -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!
diff --git a/unotools/source/i18n/textsearch.cxx b/unotools/source/i18n/textsearch.cxx
index 2a657109b110..42b995f7051c 100644
--- a/unotools/source/i18n/textsearch.cxx
+++ b/unotools/source/i18n/textsearch.cxx
@@ -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;