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

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


 sw/source/filter/ww8/wrtw8sty.cxx |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

New commits:
commit ea054d8a82d07383c17981df8597f1eee79128d5
Author:     Johnny_M <klasse at partyheld.de>
AuthorDate: Fri Mar 27 13:26:56 2020 +0100
Commit:     Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Tue Mar 31 15:28:13 2020 +0200

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

diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx
index e2c4e5808c2e..7633aab677fd 100644
--- a/sw/source/filter/ww8/wrtw8sty.cxx
+++ b/sw/source/filter/ww8/wrtw8sty.cxx
@@ -1265,7 +1265,7 @@ void MSWordSections::CheckForFacinPg( const WW8Export& rWrt ) const
     // 2 values getting set
     //      Dop.fFacingPages            == Header and Footer different
     //      Dop.fSwapBordersFacingPgs   == mirrored borders
-    sal_uInt16 nEnde = 0;
+    sal_uInt16 nEnd = 0;
     for( const WW8_SepInfo& rSepInfo : aSects )
     {
         if( !rSepInfo.pSectionFormat )
@@ -1279,7 +1279,7 @@ void MSWordSections::CheckForFacinPg( const WW8Export& rWrt ) const
                 pPd = pPd->GetFollow();
 
             // left-/right chain of pagedescs ?
-            else if( !( 1 & nEnde ) &&
+            else if( !( 1 & nEnd ) &&
                 pPd->GetFollow() && pPd != pPd->GetFollow() &&
                 pPd->GetFollow()->GetFollow() == pPd &&
                 (( UseOnPage::Left == ( UseOnPage::All & pPd->ReadUseOn() ) &&
@@ -1288,24 +1288,24 @@ void MSWordSections::CheckForFacinPg( const WW8Export& rWrt ) const
                    UseOnPage::Left == ( UseOnPage::All & pPd->GetFollow()->ReadUseOn() )) ))
             {
                 rWrt.pDop->fFacingPages = rWrt.pDop->fMirrorMargins = true;
-                nEnde |= 1;
+                nEnd |= 1;
             }
 
-            if( !( 1 & nEnde ) &&
+            if( !( 1 & nEnd ) &&
                 ( !pPd->IsHeaderShared() || !pPd->IsFooterShared() ))
             {
                 rWrt.pDop->fFacingPages = true;
-                nEnde |= 1;
+                nEnd |= 1;
             }
-            if( !( 2 & nEnde ) &&
+            if( !( 2 & nEnd ) &&
                 UseOnPage::Mirror == ( UseOnPage::Mirror & pPd->ReadUseOn() ))
             {
                 rWrt.pDop->fSwapBordersFacingPgs =
                     rWrt.pDop->fMirrorMargins = true;
-                nEnde |= 2;
+                nEnd |= 2;
             }
 
-            if( 3 == nEnde )
+            if( 3 == nEnd )
                 break;      // We do not need to go any further
         }
     }


More information about the Libreoffice-commits mailing list