summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/source/rdf/librdf_repository.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx
index 4d0a1ca91f3f..891ee882ec6a 100644
--- a/unoxml/source/rdf/librdf_repository.cxx
+++ b/unoxml/source/rdf/librdf_repository.cxx
@@ -1402,7 +1402,7 @@ void SAL_CALL librdf_Repository::setStatementRDFa(
throw lang::IllegalArgumentException(
"librdf_Repository::setStatementRDFa: Subject is null", *this, 0);
}
- if (!i_rPredicates.getLength()) {
+ if (!i_rPredicates.hasElements()) {
throw lang::IllegalArgumentException(
"librdf_Repository::setStatementRDFa: no Predicates",
*this, 1);