summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny_M <klasse@partyheld.de>2018-02-25 17:16:34 +0100
committerMichael Stahl <mstahl@redhat.com>2018-02-26 11:47:26 +0100
commit43bb03c5b17b1a583d77747bba604b17487d2723 (patch)
treee66c3137d468d587f8f6f2c4cdb5840a6a361c17
parent28b9df4ba45a12343e2c34f7764e1f18771e1927 (diff)
Translate German variable names
Akt -> Current in callnk Change-Id: I53506b07c73f4cd663be01f6a224a7fcd8c3ac89 Reviewed-on: https://gerrit.libreoffice.org/50311 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r--sw/source/core/crsr/callnk.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/sw/source/core/crsr/callnk.cxx b/sw/source/core/crsr/callnk.cxx
index f62093e3f90a..0d074c956d2b 100644
--- a/sw/source/core/crsr/callnk.cxx
+++ b/sw/source/core/crsr/callnk.cxx
@@ -117,15 +117,15 @@ SwCallLink::~SwCallLink()
}
lcl_notifyRow(pNode, rShell);
- sal_Int32 nCmp, nAktContent = pCurrentCursor->GetPoint()->nContent.GetIndex();
+ sal_Int32 nCmp, nCurrentContent = pCurrentCursor->GetPoint()->nContent.GetIndex();
SwNodeType nNdWhich = pCNd->GetNodeType();
- sal_uLong nAktNode = pCurrentCursor->GetPoint()->nNode.GetIndex();
+ sal_uLong nCurrentNode = pCurrentCursor->GetPoint()->nNode.GetIndex();
// Register the Shell as dependent at the current Node. By doing this all
// attribute changes can be signaled over the link.
pCNd->Add( &rShell );
- if( nNdTyp != nNdWhich || nNode != nAktNode )
+ if( nNdTyp != nNdWhich || nNode != nCurrentNode )
{
// Every time a switch between nodes occurs, there is a chance that
// new attributes do apply - meaning text-attributes.
@@ -139,16 +139,16 @@ SwCallLink::~SwCallLink()
rShell.CallChgLnk();
}
else if( rShell.m_aChgLnk.IsSet() && SwNodeType::Text == nNdWhich &&
- nContent != nAktContent )
+ nContent != nCurrentContent )
{
// If travelling with left/right only and the frame is
// unchanged (columns!) then check text hints.
- if( nLeftFramePos == SwCallLink::getLayoutFrame( rShell.GetLayout(), *pCNd->GetTextNode(), nAktContent,
+ if( nLeftFramePos == SwCallLink::getLayoutFrame( rShell.GetLayout(), *pCNd->GetTextNode(), nCurrentContent,
!rShell.ActionPend() ) &&
- (( nCmp = nContent ) + 1 == nAktContent || // Right
- nContent -1 == ( nCmp = nAktContent )) ) // Left
+ (( nCmp = nContent ) + 1 == nCurrentContent || // Right
+ nContent -1 == ( nCmp = nCurrentContent )) ) // Left
{
- if( nCmp == nAktContent && pCurrentCursor->HasMark() ) // left & select
+ if( nCmp == nCurrentContent && pCurrentCursor->HasMark() ) // left & select
++nCmp;
if ( pCNd->GetTextNode()->HasHints() )
@@ -164,7 +164,7 @@ SwCallLink::~SwCallLink()
// If "only start" or "start and end equal" then call on
// every overflow of start.
if( ( !pEnd || ( nStart == *pEnd ) ) &&
- ( nStart == nContent || nStart == nAktContent) )
+ ( nStart == nContent || nStart == nCurrentContent) )
{
rShell.CallChgLnk();
return;
@@ -187,7 +187,7 @@ SwCallLink::~SwCallLink()
const OUString rText = pCNd->GetTextNode()->GetText();
if( !nCmp ||
g_pBreakIt->GetBreakIter()->getScriptType( rText, nContent )
- != g_pBreakIt->GetBreakIter()->getScriptType(rText, nAktContent))
+ != g_pBreakIt->GetBreakIter()->getScriptType(rText, nCurrentContent))
{
rShell.CallChgLnk();
return;