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

Johnny_M (via logerrit) logerrit at kemper.freedesktop.org
Tue Mar 31 13:29:43 UTC 2020


 sw/source/core/docnode/ndsect.cxx |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit a630cc81bf150cb7f47287aed45b7e250d46a1c1
Author:     Johnny_M <klasse at partyheld.de>
AuthorDate: Fri Mar 27 13:35:09 2020 +0100
Commit:     Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Tue Mar 31 15:29:08 2020 +0200

    Translate German variable names
    
    Ende -> End
    
    Change-Id: I12f697212b1532d99ccf3a4ea8a11e2a583e848f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91211
    Tested-by: Jenkins
    Reviewed-by: Michael Weghorn <m.weghorn at posteo.de>

diff --git a/sw/source/core/docnode/ndsect.cxx b/sw/source/core/docnode/ndsect.cxx
index 33389bc09b6b..cebcd156ff65 100644
--- a/sw/source/core/docnode/ndsect.cxx
+++ b/sw/source/core/docnode/ndsect.cxx
@@ -899,10 +899,10 @@ SwSectionNode* SwNodes::InsertTextSection(SwNodeIndex const& rNdIdx,
     }
 
     // Set the right StartNode for all in this Area
-    sal_uLong nEnde = pSectNd->EndOfSectionIndex();
+    sal_uLong nEnd = pSectNd->EndOfSectionIndex();
     sal_uLong nStart = pSectNd->GetIndex()+1;
     sal_uLong nSkipIdx = ULONG_MAX;
-    for( sal_uLong n = nStart; n < nEnde; ++n )
+    for( sal_uLong n = nStart; n < nEnd; ++n )
     {
         SwNode* pNd = (*this)[n];
 
@@ -935,7 +935,7 @@ SwSectionNode* SwNodes::InsertTextSection(SwNodeIndex const& rNdIdx,
             static_cast<SwContentNode*>(pNd)->DelFrames(nullptr);
     }
 
-    sw_DeleteFootnote( pSectNd, nStart, nEnde );
+    sw_DeleteFootnote( pSectNd, nStart, nEnd );
 
     if( bInsFrame )
     {
@@ -1315,8 +1315,8 @@ void SwSectionNode::NodesArrChgd()
                                   : pDoc->GetDfltFrameFormat() );
 
     // Set the right StartNode for all in this Area
-    sal_uLong nStart = GetIndex()+1, nEnde = EndOfSectionIndex();
-    for( sal_uLong n = nStart; n < nEnde; ++n )
+    sal_uLong nStart = GetIndex()+1, nEnd = EndOfSectionIndex();
+    for( sal_uLong n = nStart; n < nEnd; ++n )
         // Make up the Format's nesting
         if( nullptr != ( pSectNd = rNds[ n ]->GetSectionNode() ) )
         {


More information about the Libreoffice-commits mailing list