summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-06-18 09:29:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-06-18 16:20:50 +0200
commit2a99f3311829350a3287fda25661bc952d1646da (patch)
treefed5f2ef0bc19adcb11c933b8f2b091452469330 /vcl
parent9b19f99430e5ece638a6b2afee0ad77ccd0588f2 (diff)
weld SfxSecurityPage
and drop the sole use of WB_EARLYTOGGLE Change-Id: I01e7d085eb3f9daf5a62a048178ab90defb4c5b1 Reviewed-on: https://gerrit.libreoffice.org/55983 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/button.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index ebd5aaee80a9..6facf9159838 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -3160,12 +3160,9 @@ void CheckBox::ImplCheck()
meState = eNewState;
VclPtr<vcl::Window> xWindow = this;
- if( GetStyle() & WB_EARLYTOGGLE )
- Toggle();
Invalidate();
Update();
- if( ! (GetStyle() & WB_EARLYTOGGLE) )
- Toggle();
+ Toggle();
if ( xWindow->IsDisposed() )
return;
Click();