From 9f331575ad8d371c95a18e33a245d404e873ca8a Mon Sep 17 00:00:00 2001 From: Luke Deller Date: Fri, 29 Jun 2018 00:40:14 +1000 Subject: tdf#118412: DOC incorrect bottom page margin Fix a silly typo when determining if the page has a bottom margin Change-Id: I96857951725d00978c43d850d0e1bc64ab61d965 Reviewed-on: https://gerrit.libreoffice.org/56602 Tested-by: Jenkins Reviewed-by: Luke Deller --- sw/source/filter/ww8/ww8par6.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/filter/ww8/ww8par6.cxx') diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx index 2f81599eb5b6..f53501c2485c 100644 --- a/sw/source/filter/ww8/ww8par6.cxx +++ b/sw/source/filter/ww8/ww8par6.cxx @@ -498,7 +498,7 @@ void wwSectionManager::GetPageULData(const wwSection &rSection, /* Check whether this section has headers / footers */ sal_uInt16 nHeaderMask = WW8_HEADER_EVEN | WW8_HEADER_ODD; - sal_uInt16 nFooterMask = WW8_HEADER_EVEN | WW8_HEADER_ODD; + sal_uInt16 nFooterMask = WW8_FOOTER_EVEN | WW8_FOOTER_ODD; /* Ignore the presence of a first-page header/footer unless it is enabled */ if( rSection.HasTitlePage() ) { -- cgit