summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unoxml/source/rdf/librdf_repository.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx
index b993c1fb400d..aefdc8d6c975 100644
--- a/unoxml/source/rdf/librdf_repository.cxx
+++ b/unoxml/source/rdf/librdf_repository.cxx
@@ -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: