summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-27 15:27:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-27 15:30:56 +0200
commit232d37b25e175c7a593c4ea22b0b22fe5ffe56e8 (patch)
tree2b15d668908143b757155b7ea1d3d3394c1ea54c /fpicker
parent288de2f3bf2d410d9e3e3a362f73f39a5a3245cf (diff)
More loplugin:simplifybool
Change-Id: Id3b0791cf5443eaccb6beea0e913be5b9080d812
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/PlacesListBox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpicker/source/office/PlacesListBox.cxx b/fpicker/source/office/PlacesListBox.cxx
index b68fd2d5b50e..d5baa25babdd 100644
--- a/fpicker/source/office/PlacesListBox.cxx
+++ b/fpicker/source/office/PlacesListBox.cxx
@@ -179,7 +179,7 @@ IMPL_LINK ( PlacesListBox, DoubleClick, void*, EMPTYARG )
{
sal_uInt16 nSelected = mpImpl->GetCurrRow();
PlacePtr pPlace = maPlaces[nSelected];
- if ( pPlace->IsEditable() == true && !pPlace->IsLocal( ) )
+ if ( pPlace->IsEditable() && !pPlace->IsLocal( ) )
{
PlaceEditDialog aDlg( mpDlg, pPlace );
short aRetCode = aDlg.Execute();