summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-27 15:29:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-27 15:31:02 +0200
commit79faad753fab8db49582c55ef0082588ae2521a0 (patch)
tree2599d0b32f003c3ffa70dfa2a2771a0086d50926 /svtools
parent46fdbbfe4d6c3b95f27b2eacd03480ac43109d8f (diff)
More loplugin:simplifybool
Change-Id: Ica40d21d8fd4cab37b6ba561be77d3db53d75e72
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/svimpbox.cxx2
-rw-r--r--svtools/source/dialogs/ServerDetailsControls.cxx2
-rw-r--r--svtools/source/filter/exportdialog.cxx2
-rw-r--r--svtools/source/toolpanel/paneltabbar.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx
index f1aa6facf8a6..1b0f9e801948 100644
--- a/svtools/source/contnr/svimpbox.cxx
+++ b/svtools/source/contnr/svimpbox.cxx
@@ -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?
}
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" );
diff --git a/svtools/source/filter/exportdialog.cxx b/svtools/source/filter/exportdialog.cxx
index 024d6b13030a..ce1f4ff454e3 100644
--- a/svtools/source/filter/exportdialog.cxx
+++ b/svtools/source/filter/exportdialog.cxx
@@ -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;
}
diff --git a/svtools/source/toolpanel/paneltabbar.cxx b/svtools/source/toolpanel/paneltabbar.cxx
index 91c1304ddb80..ef19414cc407 100644
--- a/svtools/source/toolpanel/paneltabbar.cxx
+++ b/svtools/source/toolpanel/paneltabbar.cxx
@@ -813,7 +813,7 @@ namespace svt
void PanelTabBar_Impl::EnsureItemsCache()
{
- if ( m_bItemsDirty == false )
+ if ( !m_bItemsDirty )
{
DBG_CHECK( *this );
return;