diff options
Diffstat (limited to 'desktop/source/deployment/misc/dp_descriptioninfoset.cxx')
-rw-r--r-- | desktop/source/deployment/misc/dp_descriptioninfoset.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/desktop/source/deployment/misc/dp_descriptioninfoset.cxx b/desktop/source/deployment/misc/dp_descriptioninfoset.cxx index 55748c364f2a..d7763a082d7d 100644 --- a/desktop/source/deployment/misc/dp_descriptioninfoset.cxx +++ b/desktop/source/deployment/misc/dp_descriptioninfoset.cxx @@ -65,10 +65,10 @@ public: virtual ~EmptyNodeList(); - virtual ::sal_Int32 SAL_CALL getLength() throw (css::uno::RuntimeException); + virtual ::sal_Int32 SAL_CALL getLength() throw (css::uno::RuntimeException, std::exception); virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL - item(::sal_Int32 index) throw (css::uno::RuntimeException); + item(::sal_Int32 index) throw (css::uno::RuntimeException, std::exception); private: EmptyNodeList(EmptyNodeList &); // not defined @@ -79,12 +79,12 @@ EmptyNodeList::EmptyNodeList() {} EmptyNodeList::~EmptyNodeList() {} -::sal_Int32 EmptyNodeList::getLength() throw (css::uno::RuntimeException) { +::sal_Int32 EmptyNodeList::getLength() throw (css::uno::RuntimeException, std::exception) { return 0; } css::uno::Reference< css::xml::dom::XNode > EmptyNodeList::item(::sal_Int32) - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { throw css::uno::RuntimeException("bad EmptyNodeList com.sun.star.xml.dom.XNodeList.item call", static_cast< ::cppu::OWeakObject * >(this)); @@ -156,14 +156,14 @@ public: bool exist(); // XCommandEnvironment virtual css::uno::Reference<css::task::XInteractionHandler > SAL_CALL - getInteractionHandler() throw (css::uno::RuntimeException); + getInteractionHandler() throw (css::uno::RuntimeException, std::exception); virtual css::uno::Reference<css::ucb::XProgressHandler > - SAL_CALL getProgressHandler() throw (css::uno::RuntimeException); + SAL_CALL getProgressHandler() throw (css::uno::RuntimeException, std::exception); // XInteractionHandler virtual void SAL_CALL handle( css::uno::Reference<css::task::XInteractionRequest > const & xRequest ) - throw (css::uno::RuntimeException); + throw (css::uno::RuntimeException, std::exception); }; ExtensionDescription::ExtensionDescription( @@ -271,13 +271,13 @@ bool FileDoesNotExistFilter::exist() } // XCommandEnvironment Reference<css::task::XInteractionHandler > - FileDoesNotExistFilter::getInteractionHandler() throw (css::uno::RuntimeException) + FileDoesNotExistFilter::getInteractionHandler() throw (css::uno::RuntimeException, std::exception) { return static_cast<css::task::XInteractionHandler*>(this); } Reference<css::ucb::XProgressHandler > - FileDoesNotExistFilter::getProgressHandler() throw (css::uno::RuntimeException) + FileDoesNotExistFilter::getProgressHandler() throw (css::uno::RuntimeException, std::exception) { return m_xCommandEnv.is() ? m_xCommandEnv->getProgressHandler() @@ -289,7 +289,7 @@ Reference<css::ucb::XProgressHandler > //of FileDoesNotExistFilter, then we do nothing void FileDoesNotExistFilter::handle( Reference<css::task::XInteractionRequest > const & xRequest ) - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { css::uno::Any request( xRequest->getRequest() ); |