diff options
Diffstat (limited to 'sdext/source/presenter/PresenterScrollBar.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterScrollBar.cxx | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sdext/source/presenter/PresenterScrollBar.cxx b/sdext/source/presenter/PresenterScrollBar.cxx index d848b1a4b2b8..bafad658e7bc 100644 --- a/sdext/source/presenter/PresenterScrollBar.cxx +++ b/sdext/source/presenter/PresenterScrollBar.cxx @@ -294,8 +294,7 @@ double PresenterScrollBar::ValidateThumbPosition (double nPosition) } void PresenterScrollBar::Paint ( - const awt::Rectangle& rUpdateBox, - const bool bNoClip) + const awt::Rectangle& rUpdateBox) { if ( ! mxCanvas.is() || ! mxWindow.is()) { @@ -304,11 +303,8 @@ void PresenterScrollBar::Paint ( return; } - if ( ! bNoClip) - { - if (PresenterGeometryHelper::AreRectanglesDisjoint (rUpdateBox, mxWindow->getPosSize())) - return; - } + if (PresenterGeometryHelper::AreRectanglesDisjoint (rUpdateBox, mxWindow->getPosSize())) + return; PaintBackground(rUpdateBox); PaintComposite(rUpdateBox, PagerUp, |