[Libreoffice-commits] core.git: sw/source

Johnny_M klasse at partyheld.de
Tue Mar 13 12:08:45 UTC 2018


 sw/source/core/crsr/crsrsh.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit dd712cdc30ba58244c4292a94a25bf5e36d6b56d
Author: Johnny_M <klasse at partyheld.de>
Date:   Sat Mar 10 12:04:42 2018 +0100

    Translate German variable names
    
    Akt -> Current in crsrsh
    
    Change-Id: Ifea6e66605556b197b64aa453902326e00631d76
    Reviewed-on: https://gerrit.libreoffice.org/51026
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>

diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx
index 54f81fa1c161..f8f1e606b1d3 100644
--- a/sw/source/core/crsr/crsrsh.cxx
+++ b/sw/source/core/crsr/crsrsh.cxx
@@ -716,7 +716,7 @@ int SwCursorShell::SetCursor( const Point &rLPt, bool bOnlyText, bool bBlock )
     SwShellCursor* pCursor = getShellCursor( bBlock );
     SwPosition aPos( *pCursor->GetPoint() );
     Point aPt( rLPt );
-    Point & rAktCursorPt = pCursor->GetPtPos();
+    Point & rCurrentCursorPt = pCursor->GetPtPos();
     SwCursorMoveState aTmpState( IsTableMode() ? MV_TBLSEL :
                                     bOnlyText ?  MV_SETONLYTEXT : MV_NONE );
     aTmpState.m_bSetInReadOnly = IsReadOnlyAvailable();
@@ -769,7 +769,7 @@ int SwCursorShell::SetCursor( const Point &rLPt, bool bOnlyText, bool bBlock )
         {
             if( pFrame )
             {
-                if( pFrame->getFrameArea().IsInside( rAktCursorPt ))
+                if( pFrame->getFrameArea().IsInside( rCurrentCursorPt ))
                     return bRet;
             }
             else if( aPos.nNode.GetNode().IsContentNode() )
@@ -800,7 +800,7 @@ int SwCursorShell::SetCursor( const Point &rLPt, bool bOnlyText, bool bBlock )
     SwCursorSaveState aSaveState( *pCursor );
 
     *pCursor->GetPoint() = aPos;
-    rAktCursorPt = aPt;
+    rCurrentCursorPt = aPt;
 
     // #i41424# Only update the marked number levels if necessary
     // Force update of marked number levels if necessary.


More information about the Libreoffice-commits mailing list