diff options
author | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-01-02 10:58:12 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-01-03 14:32:22 +0100 |
commit | 5807b07161d84ef105cc1a2292c8c1f09888e39f (patch) | |
tree | 2ad9853cb0072b7f966daecd8f9e9b1064a661a5 /sw/source | |
parent | df68f63f0b24bae202b6526486d26a8402b16341 (diff) |
Page Breaks: avoid flickering of the tab by drawing it over the line
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/docvw/PageBreakWin.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sw/source/ui/docvw/PageBreakWin.cxx b/sw/source/ui/docvw/PageBreakWin.cxx index 7e6232d85371..538f6d796850 100644 --- a/sw/source/ui/docvw/PageBreakWin.cxx +++ b/sw/source/ui/docvw/PageBreakWin.cxx @@ -477,15 +477,9 @@ void SwPageBreakWin::UpdatePosition( ) { long nRight = std::min( nPgRight + aBtnSize.getWidth() - ARROW_WIDTH / 2, aVisArea.Right() ); nBtnLeft = nRight - aBtnSize.getWidth(); - if ( IsVisible() ) - nLineRight = nBtnLeft; } else - { nBtnLeft = std::max( nPgLeft - aBtnSize.Width() + ARROW_WIDTH / 2, aVisArea.Left() ); - if ( IsVisible() ) - nLineLeft = nBtnLeft + aBtnSize.Width(); - } // Set the button position Point aBtnPos( nBtnLeft, nYLineOffset - aBtnSize.Height() / 2 ); |