Kaydet (Commit) 8d301533 authored tarafından Michael Stahl's avatar Michael Stahl

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 fa0f42ba)

Change-Id: Id37ca46eec5885f7f5230337d8a8a594845f7842
üst 0ed73a08
...@@ -292,6 +292,7 @@ inline UseOnPage SwPageDesc::GetUseOn() const ...@@ -292,6 +292,7 @@ inline UseOnPage SwPageDesc::GetUseOn() const
UseOnPage eRet = eUse; UseOnPage eRet = eUse;
eRet = (UseOnPage) (eRet & nsUseOnPage::PD_NOHEADERSHARE); eRet = (UseOnPage) (eRet & nsUseOnPage::PD_NOHEADERSHARE);
eRet = (UseOnPage) (eRet & nsUseOnPage::PD_NOFOOTERSHARE); eRet = (UseOnPage) (eRet & nsUseOnPage::PD_NOFOOTERSHARE);
eRet = (UseOnPage) (eRet & nsUseOnPage::PD_NOFIRSTSHARE);
return eRet; return eRet;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment