Kaydet (Commit) 79faad75 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

More loplugin:simplifybool

Change-Id: Ica40d21d8fd4cab37b6ba561be77d3db53d75e72
üst 46fdbbfe
......@@ -2105,7 +2105,7 @@ void SvImpLBox::MouseButtonDown( const MouseEvent& rMEvt )
else
{
// CheckButton? (TreeListBox: Check + Info)
if( ButtonDownCheckCtrl(rMEvt, pEntry, nY) == true)
if( ButtonDownCheckCtrl(rMEvt, pEntry, nY) )
return;
// Inplace-Editing?
}
......
......@@ -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" );
......
......@@ -326,7 +326,7 @@ uno::Sequence< beans::PropertyValue > ExportDialog::GetFilterData( bool bUpdateC
}
uno::Sequence< beans::PropertyValue > aRet( pFilterOptions->GetFilterData() );
if ( bUpdateConfig == false )
if ( !bUpdateConfig )
delete pFilterOptions;
return aRet;
}
......
......@@ -813,7 +813,7 @@ namespace svt
void PanelTabBar_Impl::EnsureItemsCache()
{
if ( m_bItemsDirty == false )
if ( !m_bItemsDirty )
{
DBG_CHECK( *this );
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment