diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2022-07-18 19:46:22 +1000 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2022-07-19 12:05:10 +0200 |
commit | 9e7aee7c85b5ef341705d2969461bc96743fcbcc (patch) | |
tree | fdeb3c631538164e4539cc9e5e8898af2a30cf95 /vcl/source/control/scrbar.cxx | |
parent | bad664731dc8da6fb9f9706111d1de866c650ed0 (diff) |
vcl: migrate from getOpenHeight/Width() to GetWidth/Height()
Change-Id: Ia51d6a6f2e9dcb6ba6193f7617848e7bd560dabb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137170
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
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 7ef7174ee714..79fb1d4c11df 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.getOpenWidth() > 4 ) + if( aRect.GetWidth() > 5 ) { aRect.AdjustLeft(2 ); aRect.AdjustRight( -2 ); } - if( aRect.getOpenHeight() > 4 ) + if( aRect.GetHeight() > 5 ) { aRect.AdjustTop(2 ); aRect.AdjustBottom( -2 ); |