diff options
author | Johnny_M <klasse@partyheld.de> | 2018-02-04 00:12:30 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2018-02-05 09:53:54 +0100 |
commit | f51ce842a6ac994f68bff453cf97d64dbc29b1ec (patch) | |
tree | e787e8de5c39cb57c9e05e7ed75602a91aefe966 | |
parent | 3af813241cc8007bcc2077944e12af1a7dfac3b0 (diff) |
Translate German variable names
Akt -> Current in crsr
Change-Id: Icdcba2c34c6b76e6a5232a526caeb77a294404ff
Reviewed-on: https://gerrit.libreoffice.org/49190
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r-- | sw/source/core/crsr/findtxt.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sw/source/core/crsr/findtxt.cxx b/sw/source/core/crsr/findtxt.cxx index 5ea33060dae6..cf98da007ba4 100644 --- a/sw/source/core/crsr/findtxt.cxx +++ b/sw/source/core/crsr/findtxt.cxx @@ -115,7 +115,7 @@ lcl_CleanStr(const SwTextNode& rNd, sal_Int32 const nStart, sal_Int32& rEnd, else break; - const sal_Int32 nAkt = nStt - rArr.size(); + const sal_Int32 nCurrent = nStt - rArr.size(); if ( bNewHint ) { @@ -141,17 +141,17 @@ lcl_CleanStr(const SwTextNode& rNd, sal_Int32 const nStart, sal_Int32& rEnd, // end (might be normal 0x7f). const bool bEmpty = pHt->Which() != RES_TXTATR_FIELD || (static_txtattr_cast<SwTextField const*>(pHt)->GetFormatField().GetField()->ExpandField(true).isEmpty()); - if ( bEmpty && nStart == nAkt ) + if ( bEmpty && nStart == nCurrent ) { - rArr.push_back( nAkt ); + rArr.push_back( nCurrent ); --rEnd; - buf.remove(nAkt, 1); + buf.remove(nCurrent, 1); } else { if ( bEmpty ) - aReplaced.push_back( nAkt ); - buf[nAkt] = '\x7f'; + aReplaced.push_back( nCurrent ); + buf[nCurrent] = '\x7f'; } } break; @@ -159,9 +159,9 @@ lcl_CleanStr(const SwTextNode& rNd, sal_Int32 const nStart, sal_Int32& rEnd, { if( bRemoveCommentAnchors ) { - rArr.push_back( nAkt ); + rArr.push_back( nCurrent ); --rEnd; - buf.remove( nAkt, 1 ); + buf.remove( nCurrent, 1 ); } } break; @@ -175,9 +175,9 @@ lcl_CleanStr(const SwTextNode& rNd, sal_Int32 const nStart, sal_Int32& rEnd, if ( bNewSoftHyphen ) { - rArr.push_back( nAkt ); + rArr.push_back( nCurrent ); --rEnd; - buf.remove(nAkt, 1); + buf.remove(nCurrent, 1); ++nSoftHyphen; } } |