diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-07-06 10:21:04 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-07-06 10:27:14 +0200 |
commit | dafa1f576482bc7a0086c353ffff0dbd594a7915 (patch) | |
tree | ceba03c11627b3eaaa72c420a64a1db4c70850ad | |
parent | c433fa0639ccf5caeb0c128c8a3794322e2a1c81 (diff) |
wwSectionManager::SetUseOn: forgot to share first header/footer on even pages
It make little sense to share it only on odd pages.
Change-Id: I13188fb10b073d8c351c0cc7dc5110afd25faccf
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index 22dffcc8c316..eae86e3ec2ee 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -3729,7 +3729,8 @@ 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 | nsUseOnPage::PD_HEADERSHAREFIRST | nsUseOnPage::PD_FOOTERSHAREFIRST); + eUse = (UseOnPage)(eUse | nsUseOnPage::PD_HEADERSHARE | nsUseOnPage::PD_FOOTERSHARE); + eUse = (UseOnPage)(eUse | nsUseOnPage::PD_HEADERSHAREFIRST | nsUseOnPage::PD_FOOTERSHAREFIRST); OSL_ENSURE(rSection.mpPage, "Makes no sense to call me with no pages to set"); if (rSection.mpPage) |