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:21:03 +0200
commit04f91f249b6ecaf87db983f7dcf514bbf4100b6b (patch)
tree436d8681e4dfb28945c19d27170bc3207ee56412 /vcl
parent61f794af9bcebeab3aa399fe02fb5f4976c176ba (diff)
weld SfxSecurityPage
and drop the sole use of WB_EARLYTOGGLE Change-Id: I01e7d085eb3f9daf5a62a048178ab90defb4c5b1 Reviewed-on: https://gerrit.libreoffice.org/55986 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();