sw/source/ui/docvw/PageBreakWin.cxx | 6 ------ 1 file changed, 6 deletions(-)
New commits: commit 5807b07161d84ef105cc1a2292c8c1f09888e39f Author: Cédric Bosdonnat <cedric.bosdon...@free.fr> Date: Mon Jan 2 10:58:12 2012 +0100 Page Breaks: avoid flickering of the tab by drawing it over the line diff --git a/sw/source/ui/docvw/PageBreakWin.cxx b/sw/source/ui/docvw/PageBreakWin.cxx index 7e6232d..538f6d7 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 );
_______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits