loplugin:simplifybool
Change-Id: Id90a959975033f1824ee312045a550195bd842ec
This commit is contained in:
@@ -288,7 +288,7 @@ static bool impl_checkDependencies( const uno::Reference< uno::XComponentContext
|
||||
if ( reg.IsAmbiguous )
|
||||
bRegistered = false;
|
||||
else
|
||||
bRegistered = reg.Value ? true : false;
|
||||
bRegistered = reg.Value;
|
||||
}
|
||||
else
|
||||
bRegistered = false;
|
||||
|
@@ -1489,7 +1489,7 @@ bool UpdateRequiredDialog::isEnabled( const uno::Reference< deployment::XPackage
|
||||
if ( reg.IsAmbiguous )
|
||||
bRegistered = false;
|
||||
else
|
||||
bRegistered = reg.Value ? true : false;
|
||||
bRegistered = reg.Value;
|
||||
}
|
||||
else
|
||||
bRegistered = false;
|
||||
|
Reference in New Issue
Block a user