diff options
Diffstat (limited to 'vcl/source/control/scrbar.cxx')
-rw-r--r-- | vcl/source/control/scrbar.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/scrbar.cxx b/vcl/source/control/scrbar.cxx index 844f80b02d56..7ef7174ee714 100644 --- a/vcl/source/control/scrbar.cxx +++ b/vcl/source/control/scrbar.cxx @@ -1118,12 +1118,12 @@ IMPL_LINK_NOARG(ScrollBar, ImplAutoTimerHdl, Timer *, void) void ScrollBar::ImplInvert() { tools::Rectangle aRect( maThumbRect ); - if( aRect.getWidth() > 4 ) + if( aRect.getOpenWidth() > 4 ) { aRect.AdjustLeft(2 ); aRect.AdjustRight( -2 ); } - if( aRect.getHeight() > 4 ) + if( aRect.getOpenHeight() > 4 ) { aRect.AdjustTop(2 ); aRect.AdjustBottom( -2 ); |