[Libreoffice-commits] .: Branch 'libreoffice-3-5' - sw/source
Caolán McNamara
caolan at kemper.freedesktop.org
Mon Feb 13 07:54:00 PST 2012
sw/source/core/layout/paintfrm.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit b7c1826f1babea87835f082a86ff9209fd9e614a
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date: Mon Feb 13 19:34:58 2012 +0400
Header/Footer: don't show in web layout mode
(cherry picked from commit 19d80a257b0e5c9d45985e49f33493f38c5d5f10)
Signed-off-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index f7be549..4de8650 100755
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -3489,6 +3489,7 @@ void SwPageFrm::PaintDecorators( ) const
!pGlobalShell->GetViewOptions()->IsPDFExport() &&
!pGlobalShell->IsPreView() &&
!pGlobalShell->GetViewOptions()->IsReadonly() &&
+ !pGlobalShell->GetViewOptions()->getBrowseMode() &&
( pGlobalShell->IsShowHeaderFooterSeparator( Header ) ||
pGlobalShell->IsShowHeaderFooterSeparator( Footer ) ) )
{
More information about the Libreoffice-commits
mailing list