diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-21 15:30:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-22 07:38:35 +0100 |
commit | de9acc1dd0b72d1af92ac4de97840d98d4977820 (patch) | |
tree | 232f6ead4601fb3b62cd01e2c6020b37f87f4222 /vcl/source/control/scrbar.cxx | |
parent | 5923df69b46295c5686e5c91ea2a8fc7b46d8357 (diff) |
loplugin:unusedfields in vcl
maStatusText in HelpTextWindow is dead since
commit bd3ea40ed49074c4fa4439de7b5dea4fc3161880
Date: Fri Jan 21 14:48:58 2011 +0200
Remove ShowHelpStatusText and HideHelpStatusText and associated
cruft
Change-Id: I7a74e2a1b909a479f9338bd4da5fad06ccc25283
Reviewed-on: https://gerrit.libreoffice.org/68153
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/control/scrbar.cxx')
-rw-r--r-- | vcl/source/control/scrbar.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/vcl/source/control/scrbar.cxx b/vcl/source/control/scrbar.cxx index 7ff22a104b60..8c12b9f5ec2d 100644 --- a/vcl/source/control/scrbar.cxx +++ b/vcl/source/control/scrbar.cxx @@ -448,8 +448,6 @@ bool ScrollBar::ImplDrawNative(vcl::RenderContext& rRenderContext, sal_uInt16 nD scrValue.mnButton2State = ((mnStateFlags & SCRBAR_STATE_BTN2_DOWN) ? ControlState::PRESSED : ControlState::NONE) | ((!(mnStateFlags & SCRBAR_STATE_BTN2_DISABLE)) ? ControlState::ENABLED : ControlState::NONE); scrValue.mnThumbState = nState | ((mnStateFlags & SCRBAR_STATE_THUMB_DOWN) ? ControlState::PRESSED : ControlState::NONE); - scrValue.mnPage1State = nState | ((mnStateFlags & SCRBAR_STATE_PAGE1_DOWN) ? ControlState::PRESSED : ControlState::NONE); - scrValue.mnPage2State = nState | ((mnStateFlags & SCRBAR_STATE_PAGE2_DOWN) ? ControlState::PRESSED : ControlState::NONE); if (IsMouseOver()) { @@ -462,10 +460,6 @@ bool ScrollBar::ImplDrawNative(vcl::RenderContext& rRenderContext, sal_uInt16 nD scrValue.mnButton1State |= ControlState::ROLLOVER; else if (pRect == &maBtn2Rect) scrValue.mnButton2State |= ControlState::ROLLOVER; - else if (pRect == &maPage1Rect) - scrValue.mnPage1State |= ControlState::ROLLOVER; - else if (pRect == &maPage2Rect) - scrValue.mnPage2State |= ControlState::ROLLOVER; } } |