diff options
author | Johnny_M <klasse@partyheld.de> | 2018-02-17 14:21:31 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2018-02-17 19:46:10 +0100 |
commit | 4c3fc27ee68d9e4581f8131ba8eaa7d0c640cbda (patch) | |
tree | 2ba8aef73f0c94ed20ff187f4c9258755da92dc6 /svtools | |
parent | 70eedc8d664433d4f101f59bd4782e542836d3f7 (diff) |
Translate German variable names
Akt -> Current in svparser
Change-Id: I6c883a7690ca518ea773a08ab093d5db323122f5
Reviewed-on: https://gerrit.libreoffice.org/49901
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/svrtf/svparser.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/svtools/source/svrtf/svparser.cxx b/svtools/source/svrtf/svparser.cxx index c6d59c08eb04..4ba540ce96d9 100644 --- a/svtools/source/svrtf/svparser.cxx +++ b/svtools/source/svrtf/svparser.cxx @@ -517,28 +517,28 @@ T SvParser<T>::SkipToken( short nCnt ) // "skip" n Tokens backward template<typename T> typename SvParser<T>::TokenStackType* SvParser<T>::GetStackPtr( short nCnt ) { - sal_uInt8 nAktPos = sal_uInt8(pTokenStackPos - pTokenStack ); + sal_uInt8 nCurrentPos = sal_uInt8(pTokenStackPos - pTokenStack ); if( nCnt > 0 ) { if( nCnt >= nTokenStackSize ) nCnt = (nTokenStackSize-1); - if( nAktPos + nCnt < nTokenStackSize ) - nAktPos = sal::static_int_cast< sal_uInt8 >(nAktPos + nCnt); + if( nCurrentPos + nCnt < nTokenStackSize ) + nCurrentPos = sal::static_int_cast< sal_uInt8 >(nCurrentPos + nCnt); else - nAktPos = sal::static_int_cast< sal_uInt8 >( - nAktPos + (nCnt - nTokenStackSize)); + nCurrentPos = sal::static_int_cast< sal_uInt8 >( + nCurrentPos + (nCnt - nTokenStackSize)); } else if( nCnt < 0 ) { if( -nCnt >= nTokenStackSize ) nCnt = -nTokenStackSize+1; - if( -nCnt <= nAktPos ) - nAktPos = sal::static_int_cast< sal_uInt8 >(nAktPos + nCnt); + if( -nCnt <= nCurrentPos ) + nCurrentPos = sal::static_int_cast< sal_uInt8 >(nCurrentPos + nCnt); else - nAktPos = sal::static_int_cast< sal_uInt8 >( - nAktPos + (nCnt + nTokenStackSize)); + nCurrentPos = sal::static_int_cast< sal_uInt8 >( + nCurrentPos + (nCnt + nTokenStackSize)); } - return pTokenStack + nAktPos; + return pTokenStack + nCurrentPos; } // to read asynchronous from SvStream |