diff options
-rw-r--r-- | offapi/com/sun/star/rdf/XDocumentRepository.idl | 1 | ||||
-rw-r--r-- | unoxml/source/rdf/librdf_repository.cxx | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/offapi/com/sun/star/rdf/XDocumentRepository.idl b/offapi/com/sun/star/rdf/XDocumentRepository.idl index 039e376994f5..ff1ee9bab923 100644 --- a/offapi/com/sun/star/rdf/XDocumentRepository.idl +++ b/offapi/com/sun/star/rdf/XDocumentRepository.idl @@ -169,6 +169,7 @@ interface XDocumentRepository : XRepository com::sun::star::beans::Pair< sequence<Statement>, boolean > getStatementRDFa([in] XMetadatable Element) raises( com::sun::star::lang::IllegalArgumentException, + com::sun::star::container::NoSuchElementException, RepositoryException ); /** gets matching RDFa statements from the repository. 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()) { |