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