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

loplugin:simplifybool

Change-Id: I822967265cbe9f58641e2d9bd1260fd724df8ad1
üst e7d7a1ed
......@@ -177,7 +177,7 @@ void SyncDbusSessionHelper::InstallPrinterDrivers(
NULL, /* cancellable */
&error.getRef()),GVariantDeleter());
if(result.get())
o_isInstalled = g_variant_get_boolean(g_variant_get_child_value(result.get(),0)) ? sal_True : sal_False;
o_isInstalled = bool(g_variant_get_boolean(g_variant_get_child_value(result.get(),0)));
}
}}
......
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