diff options
Diffstat (limited to 'include/comphelper/enumhelper.hxx')
-rw-r--r-- | include/comphelper/enumhelper.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/comphelper/enumhelper.hxx b/include/comphelper/enumhelper.hxx index 97eb69c6979b..a39f2bb30383 100644 --- a/include/comphelper/enumhelper.hxx +++ b/include/comphelper/enumhelper.hxx @@ -69,11 +69,11 @@ public: const staruno::Sequence< OUString >& _aNames ); virtual ~OEnumerationByName(); - virtual sal_Bool SAL_CALL hasMoreElements( ) throw(staruno::RuntimeException); + virtual sal_Bool SAL_CALL hasMoreElements( ) throw(staruno::RuntimeException, std::exception); virtual staruno::Any SAL_CALL nextElement( ) - throw(starcontainer::NoSuchElementException, starlang::WrappedTargetException, staruno::RuntimeException); + throw(starcontainer::NoSuchElementException, starlang::WrappedTargetException, staruno::RuntimeException, std::exception); - virtual void SAL_CALL disposing(const starlang::EventObject& aEvent) throw(staruno::RuntimeException); + virtual void SAL_CALL disposing(const starlang::EventObject& aEvent) throw(staruno::RuntimeException, std::exception); private: COMPHELPER_DLLPRIVATE void impl_startDisposeListening(); @@ -98,11 +98,11 @@ public: OEnumerationByIndex(const staruno::Reference< starcontainer::XIndexAccess >& _rxAccess); virtual ~OEnumerationByIndex(); - virtual sal_Bool SAL_CALL hasMoreElements( ) throw(staruno::RuntimeException); + virtual sal_Bool SAL_CALL hasMoreElements( ) throw(staruno::RuntimeException, std::exception); virtual staruno::Any SAL_CALL nextElement( ) - throw(starcontainer::NoSuchElementException, starlang::WrappedTargetException, staruno::RuntimeException); + throw(starcontainer::NoSuchElementException, starlang::WrappedTargetException, staruno::RuntimeException, std::exception); - virtual void SAL_CALL disposing(const starlang::EventObject& aEvent) throw(staruno::RuntimeException); + virtual void SAL_CALL disposing(const starlang::EventObject& aEvent) throw(staruno::RuntimeException, std::exception); private: COMPHELPER_DLLPRIVATE void impl_startDisposeListening(); @@ -126,9 +126,9 @@ public: OAnyEnumeration(const staruno::Sequence< staruno::Any >& lItems); virtual ~OAnyEnumeration(); - virtual sal_Bool SAL_CALL hasMoreElements( ) throw(staruno::RuntimeException); + virtual sal_Bool SAL_CALL hasMoreElements( ) throw(staruno::RuntimeException, std::exception); virtual staruno::Any SAL_CALL nextElement( ) - throw(starcontainer::NoSuchElementException, starlang::WrappedTargetException, staruno::RuntimeException); + throw(starcontainer::NoSuchElementException, starlang::WrappedTargetException, staruno::RuntimeException, std::exception); }; |