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 ) ...@@ -2105,7 +2105,7 @@ void SvImpLBox::MouseButtonDown( const MouseEvent& rMEvt )
else else
{ {
// CheckButton? (TreeListBox: Check + Info) // CheckButton? (TreeListBox: Check + Info)
if( ButtonDownCheckCtrl(rMEvt, pEntry, nY) == true) if( ButtonDownCheckCtrl(rMEvt, pEntry, nY) )
return; return;
// Inplace-Editing? // Inplace-Editing?
} }
......
...@@ -174,7 +174,7 @@ IMPL_LINK( DavDetailsContainer, ToggledDavsHdl, CheckBox*, pCheckBox ) ...@@ -174,7 +174,7 @@ IMPL_LINK( DavDetailsContainer, ToggledDavsHdl, CheckBox*, pCheckBox )
bool bCheckedDavs = pCheckBox->IsChecked(); bool bCheckedDavs = pCheckBox->IsChecked();
if ( m_pEDPort->GetValue() == 80 && bCheckedDavs ) if ( m_pEDPort->GetValue() == 80 && bCheckedDavs )
m_pEDPort->SetValue( 443 ); m_pEDPort->SetValue( 443 );
else if ( m_pEDPort->GetValue() == 443 && bCheckedDavs == false ) else if ( m_pEDPort->GetValue() == 443 && !bCheckedDavs )
m_pEDPort->SetValue( 80 ); m_pEDPort->SetValue( 80 );
OUString sScheme( "http" ); OUString sScheme( "http" );
......
...@@ -326,7 +326,7 @@ uno::Sequence< beans::PropertyValue > ExportDialog::GetFilterData( bool bUpdateC ...@@ -326,7 +326,7 @@ uno::Sequence< beans::PropertyValue > ExportDialog::GetFilterData( bool bUpdateC
} }
uno::Sequence< beans::PropertyValue > aRet( pFilterOptions->GetFilterData() ); uno::Sequence< beans::PropertyValue > aRet( pFilterOptions->GetFilterData() );
if ( bUpdateConfig == false ) if ( !bUpdateConfig )
delete pFilterOptions; delete pFilterOptions;
return aRet; return aRet;
} }
......
...@@ -813,7 +813,7 @@ namespace svt ...@@ -813,7 +813,7 @@ namespace svt
void PanelTabBar_Impl::EnsureItemsCache() void PanelTabBar_Impl::EnsureItemsCache()
{ {
if ( m_bItemsDirty == false ) if ( !m_bItemsDirty )
{ {
DBG_CHECK( *this ); DBG_CHECK( *this );
return; 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