More loplugin:simplifybool

Change-Id: Id3b0791cf5443eaccb6beea0e913be5b9080d812
This commit is contained in:
Stephan Bergmann
2015-04-27 15:27:42 +02:00
parent 288de2f3bf
commit 232d37b25e

View File

@@ -179,7 +179,7 @@ IMPL_LINK ( PlacesListBox, DoubleClick, void*, EMPTYARG )
{ {
sal_uInt16 nSelected = mpImpl->GetCurrRow(); sal_uInt16 nSelected = mpImpl->GetCurrRow();
PlacePtr pPlace = maPlaces[nSelected]; PlacePtr pPlace = maPlaces[nSelected];
if ( pPlace->IsEditable() == true && !pPlace->IsLocal( ) ) if ( pPlace->IsEditable() && !pPlace->IsLocal( ) )
{ {
PlaceEditDialog aDlg( mpDlg, pPlace ); PlaceEditDialog aDlg( mpDlg, pPlace );
short aRetCode = aDlg.Execute(); short aRetCode = aDlg.Execute();