[PATCH] Change in core[libreoffice-4-0]: fdo#59428: SwPageDesc::GetUseOn(): mask PD_FIRSTSHARE.

Michael Stahl (via Code Review) gerrit at gerrit.libreoffice.org
Thu Jan 17 13:37:25 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1748

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/48/1748/1

fdo#59428: SwPageDesc::GetUseOn(): mask PD_FIRSTSHARE.

There is at least one call in SwDoc::ChgPageDesc() checks if the result
equals PD_MIRROR.

(regression from fa0f42bafbf24e9141ddee728b160b5ab47077f2)

Change-Id: Id37ca46eec5885f7f5230337d8a8a594845f7842
(cherry picked from commit 8d301533f0c7764c94f8ad72fced2ce9d9de7585)
---
M sw/inc/pagedesc.hxx
1 file changed, 1 insertion(+), 0 deletions(-)



diff --git a/sw/inc/pagedesc.hxx b/sw/inc/pagedesc.hxx
index b6c40a8..dbf3144 100644
--- a/sw/inc/pagedesc.hxx
+++ b/sw/inc/pagedesc.hxx
@@ -292,6 +292,7 @@
     UseOnPage eRet = eUse;
     eRet = (UseOnPage) (eRet & nsUseOnPage::PD_NOHEADERSHARE);
     eRet = (UseOnPage) (eRet & nsUseOnPage::PD_NOFOOTERSHARE);
+    eRet = (UseOnPage) (eRet & nsUseOnPage::PD_NOFIRSTSHARE);
     return eRet;
 }
 

-- 
To view, visit https://gerrit.libreoffice.org/1748
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id37ca46eec5885f7f5230337d8a8a594845f7842
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Michael Stahl <mstahl at redhat.com>



More information about the LibreOffice mailing list