[Libreoffice-commits] core.git: sw/source
Caolán McNamara
caolanm at redhat.com
Wed Jul 27 11:30:20 UTC 2016
sw/source/core/layout/paintfrm.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 9e63e60d6f00ee690fafb9f21f2cafb08a6ad92e
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Jul 27 12:28:11 2016 +0100
Resolves: tdf#63662 'Manual Column Break' always visible...
even when non-printing chars is off.
I think this began as an intermediate step for both page and
column breaks to the header/footer overlay we now have for
page breaks. Leaving this just for column breaks. It may
have been set to always on with page-breaks in mind.
Change-Id: I1617683e2bb8c1f9229e9c2313e7817e184fa5ea
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index f36fd92..abff3a8 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -3821,7 +3821,8 @@ void SwColumnFrame::PaintBreak( ) const
// * Non-printing characters are shown, as this is more consistent
// with other formatting marks
if ( !gProp.pSGlobalShell->IsShowHeaderFooterSeparator( Header ) &&
- !gProp.pSGlobalShell->IsShowHeaderFooterSeparator( Footer ) )
+ !gProp.pSGlobalShell->IsShowHeaderFooterSeparator( Footer ) &&
+ gProp.pSGlobalShell->GetViewOptions()->IsLineBreak() )
{
SwRect aRect( pCnt->Prt() );
aRect.Pos() += pCnt->Frame().Pos();
More information about the Libreoffice-commits
mailing list