summaryrefslogtreecommitdiff
path: root/include/comphelper/enumhelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/comphelper/enumhelper.hxx')
-rw-r--r--include/comphelper/enumhelper.hxx19
1 files changed, 8 insertions, 11 deletions
diff --git a/include/comphelper/enumhelper.hxx b/include/comphelper/enumhelper.hxx
index 6e116af61cb5..67b21df92b0f 100644
--- a/include/comphelper/enumhelper.hxx
+++ b/include/comphelper/enumhelper.hxx
@@ -56,11 +56,10 @@ public:
const css::uno::Sequence< OUString >& _aNames );
virtual ~OEnumerationByName() override;
- virtual sal_Bool SAL_CALL hasMoreElements( ) throw(css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL nextElement( )
- throw(css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL hasMoreElements( ) override;
+ virtual css::uno::Any SAL_CALL nextElement( ) override;
- virtual void SAL_CALL disposing(const css::lang::EventObject& aEvent) throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing(const css::lang::EventObject& aEvent) override;
private:
COMPHELPER_DLLPRIVATE void impl_startDisposeListening();
@@ -82,11 +81,10 @@ public:
OEnumerationByIndex(const css::uno::Reference< css::container::XIndexAccess >& _rxAccess);
virtual ~OEnumerationByIndex() override;
- virtual sal_Bool SAL_CALL hasMoreElements( ) throw(css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL nextElement( )
- throw(css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL hasMoreElements( ) override;
+ virtual css::uno::Any SAL_CALL nextElement( ) override;
- virtual void SAL_CALL disposing(const css::lang::EventObject& aEvent) throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing(const css::lang::EventObject& aEvent) override;
private:
COMPHELPER_DLLPRIVATE void impl_startDisposeListening();
@@ -111,9 +109,8 @@ public:
OAnyEnumeration(const css::uno::Sequence< css::uno::Any >& lItems);
virtual ~OAnyEnumeration() override;
- virtual sal_Bool SAL_CALL hasMoreElements( ) throw(css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL nextElement( )
- throw(css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL hasMoreElements( ) override;
+ virtual css::uno::Any SAL_CALL nextElement( ) override;
};