diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-07-04 16:51:15 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-07-04 16:59:37 +0200 |
commit | 08556bfd1346d96752e212cec68fe99726e03e90 (patch) | |
tree | ef1559a563fbab5ae943b9195704ef2b8c112e41 | |
parent | e32230ddba34a69e380fac2c6e6888688c908a1b (diff) |
wwSectionManager::SetUseOn: share first page header / footer by default
Change-Id: I4e0c605cfe4f906a9a0a45d49e89b990b64ade07
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index e4f747b076c4..bd84f5b7d837 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -3774,7 +3774,7 @@ void wwSectionManager::SetUseOn(wwSection &rSection) UseOnPage eUseBase = bMirror ? nsUseOnPage::PD_MIRROR : nsUseOnPage::PD_ALL; UseOnPage eUse = eUseBase; if (!bEven) - eUse = (UseOnPage)(eUse | nsUseOnPage::PD_HEADERSHARE | nsUseOnPage::PD_FOOTERSHARE); + eUse = (UseOnPage)(eUse | nsUseOnPage::PD_HEADERSHARE | nsUseOnPage::PD_FOOTERSHARE | nsUseOnPage::PD_HEADERSHAREFIRST | nsUseOnPage::PD_FOOTERSHAREFIRST); OSL_ENSURE(rSection.mpPage, "Makes no sense to call me with no pages to set"); if (rSection.mpPage) @@ -3782,7 +3782,7 @@ void wwSectionManager::SetUseOn(wwSection &rSection) if (rSection.mpTitlePage) { rSection.mpTitlePage->WriteUseOn( - (UseOnPage) (eUseBase | nsUseOnPage::PD_HEADERSHARE | nsUseOnPage::PD_FOOTERSHARE)); + (UseOnPage) (eUseBase | nsUseOnPage::PD_HEADERSHARE | nsUseOnPage::PD_FOOTERSHARE | nsUseOnPage::PD_HEADERSHAREFIRST | nsUseOnPage::PD_FOOTERSHAREFIRST)); } } |