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

Johnny_M klasse at partyheld.de
Sat Feb 17 18:44:40 UTC 2018


 sw/source/core/txtnode/ndtxt.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 965527d76bc233b65795a5203029a65e28773e3b
Author: Johnny_M <klasse at partyheld.de>
Date:   Sat Feb 17 14:48:49 2018 +0100

    Translate German variable names
    
    Akt -> Current in txtnode
    
    Change-Id: I5f8c615c0caf96d51077aba5b27ee68bbe6f3b72
    Reviewed-on: https://gerrit.libreoffice.org/49902
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx
index 67c8a8975485..a442be331735 100644
--- a/sw/source/core/txtnode/ndtxt.cxx
+++ b/sw/source/core/txtnode/ndtxt.cxx
@@ -2034,10 +2034,10 @@ OUString SwTextNode::InsertText( const OUString & rStr, const SwIndex & rIdx,
                         && (*pEndIdx == pHt->GetStart()) )
                 {
                     pHt->GetStart() = pHt->GetStart() - nLen;
-                    const size_t nAktLen = m_pSwpHints->Count();
+                    const size_t nCurrentLen = m_pSwpHints->Count();
                     m_pSwpHints->DeleteAtPos(i);
                     InsertHint( pHt/* AUTOSTYLES:, SetAttrMode::NOHINTADJUST*/ );
-                    if ( nAktLen > m_pSwpHints->Count() && i )
+                    if ( nCurrentLen > m_pSwpHints->Count() && i )
                     {
                         --i;
                     }


More information about the Libreoffice-commits mailing list