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

Johnny_M klasse at partyheld.de
Sun Apr 15 17:38:17 UTC 2018


 sw/source/core/doc/doctxm.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 112dbca9882ef98a4ff294445939d1c358486691
Author: Johnny_M <klasse at partyheld.de>
Date:   Sat Mar 31 13:15:35 2018 +0200

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

diff --git a/sw/source/core/doc/doctxm.cxx b/sw/source/core/doc/doctxm.cxx
index 64310da59d4c..34cdce1fee6c 100644
--- a/sw/source/core/doc/doctxm.cxx
+++ b/sw/source/core/doc/doctxm.cxx
@@ -1535,7 +1535,7 @@ void SwTOXBaseSection::UpdatePageNum()
         return ;
 
     // Insert the current PageNumber into the TOC
-    SwPageFrame*  pAktPage    = nullptr;
+    SwPageFrame*  pCurrentPage    = nullptr;
     sal_uInt16      nPage       = 0;
     SwDoc* pDoc = GetFormat()->GetDoc();
 
@@ -1595,10 +1595,10 @@ void SwTOXBaseSection::UpdatePageNum()
                     }
 
                     SwPageFrame*  pTmpPage = pFrame->FindPageFrame();
-                    if( pTmpPage != pAktPage )
+                    if( pTmpPage != pCurrentPage )
                     {
                         nPage       = pTmpPage->GetVirtPageNum();
-                        pAktPage    = pTmpPage;
+                        pCurrentPage    = pTmpPage;
                     }
 
                     // Insert as sorted
@@ -1609,7 +1609,7 @@ void SwTOXBaseSection::UpdatePageNum()
                     if( i >= aNums.size() || aNums[ i ] != nPage )
                     {
                         aNums.insert(aNums.begin() + i, nPage);
-                        aDescs.insert(aDescs.begin() + i, pAktPage->GetPageDesc() );
+                        aDescs.insert(aDescs.begin() + i, pCurrentPage->GetPageDesc() );
                     }
                     // is it a main entry?
                     if(TOX_SORT_INDEX == pSortBase->GetType() &&


More information about the Libreoffice-commits mailing list