summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-08-02 11:18:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-08-02 11:18:25 +0100
commit772191616a0cceebf91a9674ce7417d5cad0050f (patch)
treef98297aa4d64dfe8b30f3ee931199bc1553a4f59
parent0321dbb9be72f92c02919457cdc3c4e76cfbd11d (diff)
Resolves: tdf#101241 Revert "fix paint table border in DOUBLE_THIN style"
because of the never-ending invalidate and paint of tdf#101241 there was no bug or route to reproduce the original problem so can't try to solve it a different way. This reverts commit 9a95520948de1d92c55252aa5f90606b01d6ac9e.
-rw-r--r--sw/source/core/layout/paintfrm.cxx18
1 files changed, 0 insertions, 18 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index abff3a816e66..b35c44e73469 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -2742,24 +2742,6 @@ void SwTabFramePainter::PaintLines(OutputDevice& rDev, const SwRect& rRect) cons
aPaintEnd.Y() += static_cast<long>(offsetEnd + 0.5);
}
- if( rEntryStyle.Type() == table::BorderLineStyle::DOUBLE_THIN )
- {
- long aPixel = rDev.PixelToLogic( Point(1, 1) ).getX();
- SwRect aPaintEx( aPaintStart, aPaintEnd );
- if( bHori )
- {
- aPaintEx.Pos().Y() -= aPixel;
- aPaintEx.SSize().Height() += aPixel * 2;
- }
- else
- {
- aPaintEx.Pos().X() -= aPixel;
- aPaintEx.SSize().Width() += aPixel * 2;
- }
-
- gProp.pSGlobalShell->InvalidateWindows( aPaintEx );
- }
-
if (bHori)
{
mrTabFrame.ProcessPrimitives( svx::frame::CreateBorderPrimitives(