summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorOliver Specht <oliver.specht@cib.de>2015-12-11 15:36:57 +0100
committerOliver Specht <oliver.specht@cib.de>2015-12-12 14:00:39 +0000
commit8045b87609409c944e3e89e7e11c00822a214512 (patch)
tree5f5b78db27ac0c85d928a63b706449d3ea642ef3 /sw/source
parent917d59a84124d1022bd1912874e7a53c674784f1 (diff)
tdf#36722: Enable footnote separator line style NONE
adds detection of css::table::BorderLineStyle::NONE to the LineListBox and stops painting NONE style lines Change-Id: Ib24fa25a9e3e3ae685f2000685f01cae42d1653f Reviewed-on: https://gerrit.libreoffice.org/20639 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/layout/paintfrm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index 83a8638d00ab..4fb7c8957e87 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -5596,7 +5596,7 @@ void SwFootnoteContFrame::PaintLine( const SwRect& rRect,
nX), Size( nLineWidth, nWidth ) )
: SwRect( Point( nX, Frame().Pos().Y() + rInf.GetTopDist() ),
Size( nWidth, rInf.GetLineWidth()));
- if ( aLineRect.HasArea() )
+ if ( aLineRect.HasArea() && rInf.GetLineStyle() != css::table::BorderLineStyle::NONE)
PaintBorderLine( rRect, aLineRect , pPage, &rInf.GetLineColor(),
rInf.GetLineStyle() );
}