[Libreoffice-commits] .: sw/source
Miklos Vajna
vmiklos at kemper.freedesktop.org
Fri Jul 6 01:25:58 PDT 2012
sw/source/filter/ww8/ww8par.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit dafa1f576482bc7a0086c353ffff0dbd594a7915
Author: Miklos Vajna <vmiklos at 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)
More information about the Libreoffice-commits
mailing list