loplugin:simplifybool
Change-Id: Ic38df50884b370417ed62b65ac7f90a13faea230
This commit is contained in:
parent
6003732e3b
commit
eac10bd2db
@ -1489,8 +1489,7 @@ throw (uno::RuntimeException, rdf::QueryException, rdf::RepositoryException, std
|
||||
"librdf_Repository::queryAsk: "
|
||||
"query result is null or not boolean", *this);
|
||||
}
|
||||
return librdf_query_results_get_boolean(pResults.get())
|
||||
? sal_True : sal_False;
|
||||
return bool(librdf_query_results_get_boolean(pResults.get()));
|
||||
}
|
||||
|
||||
// css::rdf::XDocumentRepository:
|
||||
|
Loading…
x
Reference in New Issue
Block a user