summaryrefslogtreecommitdiff
path: root/forms/source/xforms/enumeration.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/xforms/enumeration.cxx')
-rw-r--r--forms/source/xforms/enumeration.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/xforms/enumeration.cxx b/forms/source/xforms/enumeration.cxx
index e0ee0dc2b8ff..2ae94088ca52 100644
--- a/forms/source/xforms/enumeration.cxx
+++ b/forms/source/xforms/enumeration.cxx
@@ -42,7 +42,7 @@ Enumeration::Enumeration( XIndexAccess* pContainer )
}
sal_Bool Enumeration::hasMoreElements()
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
if( ! mxContainer.is() )
throw RuntimeException();
@@ -53,7 +53,7 @@ sal_Bool Enumeration::hasMoreElements()
Any Enumeration::nextElement()
throw( NoSuchElementException,
WrappedTargetException,
- RuntimeException )
+ RuntimeException, std::exception )
{
if( ! mxContainer.is() )
throw RuntimeException();