From 232d37b25e175c7a593c4ea22b0b22fe5ffe56e8 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 27 Apr 2015 15:27:42 +0200 Subject: [PATCH] More loplugin:simplifybool Change-Id: Id3b0791cf5443eaccb6beea0e913be5b9080d812 --- fpicker/source/office/PlacesListBox.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();