diff options
author | Johnny_M <klasse@partyheld.de> | 2018-03-10 10:56:55 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2018-03-13 13:11:04 +0100 |
commit | 9cec0f2d5c45420dccbbb35edcf1f79d89833b4a (patch) | |
tree | ab6bdf63543144f3b96a0d3d6113225b75656c5a | |
parent | 82387d71d7495088664c3854ef9c6ff617278aff (diff) |
Translate German variable names
Akt -> Current in docnum
Change-Id: Ia6d67ee3f3c4cf15bbfe2fabf2baa1f4adbd91a8
Reviewed-on: https://gerrit.libreoffice.org/51027
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r-- | sw/source/core/doc/docnum.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sw/source/core/doc/docnum.cxx b/sw/source/core/doc/docnum.cxx index 58c58c8ea189..4c6716d3ad5b 100644 --- a/sw/source/core/doc/docnum.cxx +++ b/sw/source/core/doc/docnum.cxx @@ -423,7 +423,7 @@ bool SwDoc::MoveOutlinePara( const SwPaM& rPam, SwOutlineNodes::difference_type return false; } - SwOutlineNodes::size_type nAktPos = 0; + SwOutlineNodes::size_type nCurrentPos = 0; SwNodeIndex aSttRg( rStt.nNode ), aEndRg( rEnd.nNode ); int nOutLineLevel = MAXLEVEL; @@ -432,12 +432,12 @@ bool SwDoc::MoveOutlinePara( const SwPaM& rPam, SwOutlineNodes::difference_type if( pSrch->IsTextNode()) nOutLineLevel = static_cast<sal_uInt8>(pSrch->GetTextNode()->GetAttrOutlineLevel()-1); SwNode* pEndSrch = &aEndRg.GetNode(); - if( !GetNodes().GetOutLineNds().Seek_Entry( pSrch, &nAktPos ) ) + if( !GetNodes().GetOutLineNds().Seek_Entry( pSrch, &nCurrentPos ) ) { - if( !nAktPos ) + if( !nCurrentPos ) return false; // Promoting or demoting before the first outline => no. - if( --nAktPos ) - aSttRg = *GetNodes().GetOutLineNds()[ nAktPos ]; + if( --nCurrentPos ) + aSttRg = *GetNodes().GetOutLineNds()[ nCurrentPos ]; else if( 0 > nOffset ) return false; // Promoting at the top of document?! else @@ -460,7 +460,7 @@ bool SwDoc::MoveOutlinePara( const SwPaM& rPam, SwOutlineNodes::difference_type ? *GetNodes().GetOutLineNds()[ nTmpPos ] : GetNodes().GetEndOfContent(); if( nOffset >= 0 ) - nAktPos = nTmpPos; + nCurrentPos = nTmpPos; if( aEndRg == aSttRg ) { OSL_FAIL( "Moving outlines: Surprising selection" ); @@ -497,12 +497,12 @@ bool SwDoc::MoveOutlinePara( const SwPaM& rPam, SwOutlineNodes::difference_type ++aEndRg; // calculation of the new position - if( nOffset < 0 && nAktPos < SwOutlineNodes::size_type(-nOffset) ) + if( nOffset < 0 && nCurrentPos < SwOutlineNodes::size_type(-nOffset) ) pNd = GetNodes().GetEndOfContent().StartOfSectionNode(); - else if( nAktPos + nOffset >= GetNodes().GetOutLineNds().size() ) + else if( nCurrentPos + nOffset >= GetNodes().GetOutLineNds().size() ) pNd = &GetNodes().GetEndOfContent(); else - pNd = GetNodes().GetOutLineNds()[ nAktPos + nOffset ]; + pNd = GetNodes().GetOutLineNds()[ nCurrentPos + nOffset ]; sal_uLong nNewPos = pNd->GetIndex(); |