Kaydet (Commit) aa449f87 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:simplifybool

Change-Id: Id90a959975033f1824ee312045a550195bd842ec
üst 6cb8d552
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment