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

Johnny_M klasse at partyheld.de
Thu Apr 12 16:43:04 UTC 2018


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

New commits:
commit 4cc3f90303a3da5141598b95e6158d98d647cbcf
Author: Johnny_M <klasse at partyheld.de>
Date:   Sat Mar 31 13:35:36 2018 +0200

    Translate German variable names
    
    Akt -> Current in autofmt
    
    Change-Id: I6c1a8c20bc1c98644a7667527269b52aabc6cf50
    Reviewed-on: https://gerrit.libreoffice.org/52186
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Michael Stahl <Michael.Stahl at cib.de>

diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx
index 4a07168b8d0d..09ccd39c604a 100644
--- a/sw/source/core/edit/autofmt.cxx
+++ b/sw/source/core/edit/autofmt.cxx
@@ -165,7 +165,7 @@ class SwAutoFormat
     bool IsEnumericChar( const SwTextNode&) const;
     static bool IsBlanksInString( const SwTextNode&);
     sal_uInt16 CalcLevel( const SwTextNode&, sal_uInt16 *pDigitLvl = nullptr ) const;
-    sal_Int32 GetBigIndent( sal_Int32& rAktSpacePos ) const;
+    sal_Int32 GetBigIndent( sal_Int32& rCurrentSpacePos ) const;
 
     static OUString DelLeadingBlanks(const OUString& rStr);
     static OUString DelTrailingBlanks( const OUString& rStr );
@@ -478,7 +478,7 @@ sal_uInt16 SwAutoFormat::CalcLevel( const SwTextNode& rNd, sal_uInt16 *pDigitLvl
     return nLvl;
 }
 
-sal_Int32 SwAutoFormat::GetBigIndent( sal_Int32& rAktSpacePos ) const
+sal_Int32 SwAutoFormat::GetBigIndent( sal_Int32& rCurrentSpacePos ) const
 {
     SwTextFrameInfo aFInfo( GetFrame( *m_pCurTextNd ) );
     const SwTextFrame* pNxtFrame = nullptr;
@@ -492,7 +492,7 @@ sal_Int32 SwAutoFormat::GetBigIndent( sal_Int32& rAktSpacePos ) const
         pNxtFrame = GetFrame( *pNxtNd );
     }
 
-    return aFInfo.GetBigIndent( rAktSpacePos, pNxtFrame );
+    return aFInfo.GetBigIndent( rCurrentSpacePos, pNxtFrame );
 }
 
 bool SwAutoFormat::IsNoAlphaLine( const SwTextNode& rNd ) const


More information about the Libreoffice-commits mailing list