sw/source/filter/ww8/ww8par.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit dafa1f576482bc7a0086c353ffff0dbd594a7915 Author: Miklos Vajna <vmik...@suse.cz> Date: Fri Jul 6 10:21:04 2012 +0200 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 diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index 22dffcc..eae86e3 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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits