summaryrefslogtreecommitdiff
path: root/unoxml/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-10 17:24:03 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-10 18:14:36 +0100
commitccaaa544350156ed4cd113634ceb66ad8cc5af23 (patch)
tree170ff7165b246b3a6a30423a85735dcebb1ab946 /unoxml/source
parentcd86543fd4b81b03762e24d81be6c7671d5188a5 (diff)
coverity#707458 Uncaught exception
Change-Id: Ia446cc0b8b26bb158b36ca64cbf45bf172f37bdf
Diffstat (limited to 'unoxml/source')
-rw-r--r--unoxml/source/rdf/librdf_repository.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx
index 2cdcdaa51104..dd0dec63a277 100644
--- a/unoxml/source/rdf/librdf_repository.cxx
+++ b/unoxml/source/rdf/librdf_repository.cxx
@@ -359,6 +359,7 @@ public:
virtual beans::Pair< uno::Sequence<rdf::Statement>, sal_Bool > SAL_CALL
getStatementRDFa(uno::Reference< rdf::XMetadatable > const& i_xElement)
throw (uno::RuntimeException, lang::IllegalArgumentException,
+ container::NoSuchElementException,
rdf::RepositoryException, std::exception) SAL_OVERRIDE;
virtual uno::Reference< container::XEnumeration > SAL_CALL
getStatementsRDFa(
@@ -1646,6 +1647,7 @@ beans::Pair< uno::Sequence<rdf::Statement>, sal_Bool > SAL_CALL
librdf_Repository::getStatementRDFa(
const uno::Reference< rdf::XMetadatable > & i_xElement)
throw (uno::RuntimeException, lang::IllegalArgumentException,
+ container::NoSuchElementException,
rdf::RepositoryException, std::exception)
{
if (!i_xElement.is()) {