diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 11:43:16 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 14:12:37 +0100 |
commit | 7d669e4cdc6ddcb680ffb4f05b18a8925a76a6b0 (patch) | |
tree | 60c7573fef5c6868ef98cdea125d6e0ddc76dd57 /unoxml | |
parent | d4ebec5c7950c2558c8efe873288e078f5d8ad31 (diff) |
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/source/rdf/librdf_repository.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx index fa5b065d068b..5fdf2788f8ad 100644 --- a/unoxml/source/rdf/librdf_repository.cxx +++ b/unoxml/source/rdf/librdf_repository.cxx @@ -1554,7 +1554,7 @@ throw (uno::RuntimeException, lang::IllegalArgumentException, while (xIter->hasMoreElements()) { rdf::Statement stmt; if (!(xIter->nextElement() >>= stmt)) { - OSL_ENSURE(false, "getStatementRDFa: result of wrong type?"); + OSL_FAIL("getStatementRDFa: result of wrong type?"); } else { ret.push_back(stmt); } @@ -2033,7 +2033,7 @@ librdf_node* librdf_TypeConverter::mkNode( librdf_world* i_pWorld, (lang.getStr()), 0); } else { - OSL_ENSURE(false, "mkNode: invalid literal"); + OSL_FAIL("mkNode: invalid literal"); return 0; } } @@ -2114,7 +2114,7 @@ librdf_TypeConverter::convertToXURI(librdf_node* i_pNode) const } return convertToXURI(pURI); } else { - OSL_ENSURE(false, "convertToXURI: unknown librdf_node"); + OSL_FAIL("convertToXURI: unknown librdf_node"); return 0; } } |