diff options
Diffstat (limited to 'sw/source/ui/docvw/PageBreakWin.cxx')
-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 ); |