diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 15:29:14 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 15:31:02 +0200 |
commit | 79faad753fab8db49582c55ef0082588ae2521a0 (patch) | |
tree | 2599d0b32f003c3ffa70dfa2a2771a0086d50926 /svtools/source/dialogs | |
parent | 46fdbbfe4d6c3b95f27b2eacd03480ac43109d8f (diff) |
More loplugin:simplifybool
Change-Id: Ica40d21d8fd4cab37b6ba561be77d3db53d75e72
Diffstat (limited to 'svtools/source/dialogs')
-rw-r--r-- | svtools/source/dialogs/ServerDetailsControls.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/dialogs/ServerDetailsControls.cxx b/svtools/source/dialogs/ServerDetailsControls.cxx index f7aebdf36b40..90e8df4ffc47 100644 --- a/svtools/source/dialogs/ServerDetailsControls.cxx +++ b/svtools/source/dialogs/ServerDetailsControls.cxx @@ -174,7 +174,7 @@ IMPL_LINK( DavDetailsContainer, ToggledDavsHdl, CheckBox*, pCheckBox ) bool bCheckedDavs = pCheckBox->IsChecked(); if ( m_pEDPort->GetValue() == 80 && bCheckedDavs ) m_pEDPort->SetValue( 443 ); - else if ( m_pEDPort->GetValue() == 443 && bCheckedDavs == false ) + else if ( m_pEDPort->GetValue() == 443 && !bCheckedDavs ) m_pEDPort->SetValue( 80 ); OUString sScheme( "http" ); |