More loplugin:simplifybool
Change-Id: Id3b0791cf5443eaccb6beea0e913be5b9080d812
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user