[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - sw/source

Michael Stahl mstahl at redhat.com
Wed Aug 21 05:03:54 PDT 2013


 sw/source/core/doc/docdesc.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 1514f2c5d00a6f4743f942c93c3a930e13c14263
Author: Michael Stahl <mstahl at redhat.com>
Date:   Tue Aug 20 14:56:41 2013 +0200

    fix undetected(?) merge conflict
    
    commits 49e308ce893e461a121ea7d90ec9514f05bf62aa and
    f7433971d901f8f66538ef8df3e7729b0047ca2c were pushed out-of-order and as
    a result the "pDesc->ChgFirstShare( rChged.IsFirstShared() );"
    somehow managed to get duplicated, which makes
    f7433971d901f8f66538ef8df3e7729b0047ca2c ineffective for footers;
    remove the duplicate.
    
    Change-Id: Ia61690c2f0714f9e381cd86d50e139f0ccb85a88
    Reviewed-on: https://gerrit.libreoffice.org/5544
    Reviewed-by: Miklos Vajna <vmiklos at suse.cz>
    Tested-by: Miklos Vajna <vmiklos at suse.cz>

diff --git a/sw/source/core/doc/docdesc.cxx b/sw/source/core/doc/docdesc.cxx
index 2e45e60..932eb84 100644
--- a/sw/source/core/doc/docdesc.cxx
+++ b/sw/source/core/doc/docdesc.cxx
@@ -352,8 +352,6 @@ void SwDoc::ChgPageDesc( sal_uInt16 i, const SwPageDesc &rChged )
     CopyMasterHeader(rChged, rHead, pDesc, true); // Copy left header
     CopyMasterHeader(rChged, rHead, pDesc, false); // Copy first header
     pDesc->ChgHeaderShare( rChged.IsHeaderShared() );
-    // there is just one first shared flag for both header and footer?
-    pDesc->ChgFirstShare( rChged.IsFirstShared() );
 
     // Synch Footer.
     const SwFmtFooter &rFoot = rChged.GetMaster().GetFooter();


More information about the Libreoffice-commits mailing list