diff options
author | Johnny_M <klasse@partyheld.de> | 2018-03-24 12:11:58 +0100 |
---|---|---|
committer | Bartosz Kosiorek <gang65@poczta.onet.pl> | 2018-03-28 18:14:20 +0200 |
commit | f584f2515b744699a3b3a7e3f9e9927e86df4a5d (patch) | |
tree | c24a8701cf2167b82d236008f71ccbb95835c572 /svl | |
parent | 89c4a6a385d489e08345135ac3ec81220e0ce9bd (diff) |
Translate German variable names
Akt -> Current in svl/style
Change-Id: Id6f8f7b09a8ae1768708d9fd5d11003fef1e2e42
Reviewed-on: https://gerrit.libreoffice.org/51798
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/style.cxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index 2e43e1f8a3a7..f42a11407375 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -395,8 +395,8 @@ struct DoesStyleMatchStyleSheetPredicate final : public svl::StyleSheetPredicate SfxStyleSheetIterator::SfxStyleSheetIterator(SfxStyleSheetBasePool *pBase, SfxStyleFamily eFam, sal_uInt16 n) - : pAktStyle(nullptr) - , nAktPosition(0) + : pCurrentStyle(nullptr) + , nCurrentPosition(0) { pBasePool=pBase; nSearchFamily=eFam; @@ -439,7 +439,7 @@ SfxStyleSheetBase* SfxStyleSheetIterator::operator[](sal_uInt16 nIdx) if( IsTrivialSearch()) { retval = pBasePool->pImpl->mxIndexedStyleSheets->GetStyleSheetByPosition(nIdx).get(); - nAktPosition = nIdx; + nCurrentPosition = nIdx; } else if(nMask == SFXSTYLEBIT_ALL) { @@ -448,7 +448,7 @@ SfxStyleSheetBase* SfxStyleSheetIterator::operator[](sal_uInt16 nIdx) pBasePool->pImpl->mxIndexedStyleSheets->GetStyleSheetPositionsByFamily(nSearchFamily).at(nIdx)) ; retval = ref.get(); - nAktPosition = nIdx; + nCurrentPosition = nIdx; } else { @@ -457,7 +457,7 @@ SfxStyleSheetBase* SfxStyleSheetIterator::operator[](sal_uInt16 nIdx) pBasePool->pImpl->mxIndexedStyleSheets->GetNthStyleSheetThatMatchesPredicate(nIdx, predicate); if (ref.get() != nullptr) { - nAktPosition = pBasePool->pImpl->mxIndexedStyleSheets->FindStyleSheetPosition(*ref); + nCurrentPosition = pBasePool->pImpl->mxIndexedStyleSheets->FindStyleSheetPosition(*ref); retval = ref.get(); } } @@ -488,21 +488,21 @@ SfxStyleSheetBase* SfxStyleSheetIterator::Next() if ( IsTrivialSearch() ) { unsigned nStyleSheets = pBasePool->pImpl->mxIndexedStyleSheets->GetNumberOfStyleSheets(); - unsigned newPosition = nAktPosition +1; + unsigned newPosition = nCurrentPosition +1; if (nStyleSheets > newPosition) { - nAktPosition = newPosition; - retval = pBasePool->pImpl->mxIndexedStyleSheets->GetStyleSheetByPosition(nAktPosition).get(); + nCurrentPosition = newPosition; + retval = pBasePool->pImpl->mxIndexedStyleSheets->GetStyleSheetByPosition(nCurrentPosition).get(); } } else if(nMask == SFXSTYLEBIT_ALL) { - unsigned newPosition = nAktPosition +1; + unsigned newPosition = nCurrentPosition +1; const std::vector<unsigned>& familyVector = pBasePool->pImpl->mxIndexedStyleSheets->GetStyleSheetPositionsByFamily(nSearchFamily); if (familyVector.size() > newPosition) { - nAktPosition = newPosition; + nCurrentPosition = newPosition; unsigned stylePosition = familyVector.at(newPosition); retval = pBasePool->pImpl->mxIndexedStyleSheets->GetStyleSheetByPosition(stylePosition).get(); } @@ -512,13 +512,13 @@ SfxStyleSheetBase* SfxStyleSheetIterator::Next() DoesStyleMatchStyleSheetPredicate predicate(this); rtl::Reference< SfxStyleSheetBase > ref = pBasePool->pImpl->mxIndexedStyleSheets->GetNthStyleSheetThatMatchesPredicate( - 0, predicate, nAktPosition+1); + 0, predicate, nCurrentPosition+1); retval = ref.get(); if (retval != nullptr) { - nAktPosition = pBasePool->pImpl->mxIndexedStyleSheets->FindStyleSheetPosition(*ref); + nCurrentPosition = pBasePool->pImpl->mxIndexedStyleSheets->FindStyleSheetPosition(*ref); } } - pAktStyle = retval; + pCurrentStyle = retval; return retval; } @@ -535,9 +535,9 @@ SfxStyleSheetBase* SfxStyleSheetIterator::Find(const OUString& rStr) unsigned pos = positions.front(); SfxStyleSheetBase* pStyle = pBasePool->pImpl->mxIndexedStyleSheets->GetStyleSheetByPosition(pos).get(); - nAktPosition = pos; - pAktStyle = pStyle; - return pAktStyle; + nCurrentPosition = pos; + pCurrentStyle = pStyle; + return pCurrentStyle; } sal_uInt16 SfxStyleSheetIterator::GetSearchMask() const |