diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-01-17 21:55:32 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-01-17 22:32:13 +0100 |
commit | 8d301533f0c7764c94f8ad72fced2ce9d9de7585 (patch) | |
tree | 8960cc8833dd2f1c114a5d3a826dc2b842b8d86b /sw/inc | |
parent | 0ed73a0817ad0ff0107cb297208252c0afe3b4a9 (diff) |
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
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/pagedesc.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/pagedesc.hxx b/sw/inc/pagedesc.hxx index b6c40a8873eb..dbf314481ca2 100644 --- a/sw/inc/pagedesc.hxx +++ b/sw/inc/pagedesc.hxx @@ -292,6 +292,7 @@ inline UseOnPage SwPageDesc::GetUseOn() const UseOnPage eRet = eUse; eRet = (UseOnPage) (eRet & nsUseOnPage::PD_NOHEADERSHARE); eRet = (UseOnPage) (eRet & nsUseOnPage::PD_NOFOOTERSHARE); + eRet = (UseOnPage) (eRet & nsUseOnPage::PD_NOFIRSTSHARE); return eRet; } |