diff options
Diffstat (limited to 'forms/source/xforms/collection.hxx')
-rw-r--r-- | forms/source/xforms/collection.hxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/forms/source/xforms/collection.hxx b/forms/source/xforms/collection.hxx index c923c2bdf873..cafb0ff1902f 100644 --- a/forms/source/xforms/collection.hxx +++ b/forms/source/xforms/collection.hxx @@ -158,20 +158,20 @@ public: // XElementAccess virtual Type_t SAL_CALL getElementType() - throw( RuntimeException_t ) + throw( RuntimeException_t, std::exception ) { return getCppuType( static_cast<T*>( NULL ) ); } virtual sal_Bool SAL_CALL hasElements() - throw( RuntimeException_t ) + throw( RuntimeException_t, std::exception ) { return hasItems(); } // XIndexAccess : XElementAccess virtual sal_Int32 SAL_CALL getCount() - throw( RuntimeException_t ) + throw( RuntimeException_t, std::exception ) { return countItems(); } @@ -179,7 +179,7 @@ public: virtual Any_t SAL_CALL getByIndex( sal_Int32 nIndex ) throw( IndexOutOfBoundsException_t, WrappedTargetException_t, - RuntimeException_t) + RuntimeException_t, std::exception) { if( isValidIndex( nIndex ) ) return com::sun::star::uno::makeAny( getItem( nIndex ) ); @@ -193,7 +193,7 @@ public: throw( IllegalArgumentException_t, IndexOutOfBoundsException_t, WrappedTargetException_t, - RuntimeException_t) + RuntimeException_t, std::exception) { T t; if( isValidIndex( nIndex) ) @@ -207,7 +207,7 @@ public: // XEnumerationAccess : XElementAccess virtual XEnumeration_t SAL_CALL createEnumeration() - throw( RuntimeException_t ) + throw( RuntimeException_t, std::exception ) { return new Enumeration( this ); } @@ -215,7 +215,7 @@ public: // XSet : XEnumerationAccess virtual sal_Bool SAL_CALL has( const Any_t& aElement ) - throw( RuntimeException_t ) + throw( RuntimeException_t, std::exception ) { T t; return ( aElement >>= t ) ? hasItem( t ) : sal_False; @@ -224,7 +224,7 @@ public: virtual void SAL_CALL insert( const Any_t& aElement ) throw( IllegalArgumentException_t, ElementExistException_t, - RuntimeException_t ) + RuntimeException_t, std::exception ) { T t; if( ( aElement >>= t ) && isValid( t ) ) @@ -239,7 +239,7 @@ public: virtual void SAL_CALL remove( const Any_t& aElement ) throw( IllegalArgumentException_t, NoSuchElementException_t, - RuntimeException_t ) + RuntimeException_t, std::exception ) { T t; if( aElement >>= t ) @@ -255,7 +255,7 @@ public: // XContainer virtual void SAL_CALL addContainerListener( const XContainerListener_t& xListener ) - throw( RuntimeException_t ) + throw( RuntimeException_t, std::exception ) { OSL_ENSURE( xListener.is(), "need listener!" ); if( std::find( maListeners.begin(), maListeners.end(), xListener) @@ -265,7 +265,7 @@ public: virtual void SAL_CALL removeContainerListener( const XContainerListener_t& xListener ) - throw( RuntimeException_t ) + throw( RuntimeException_t, std::exception ) { OSL_ENSURE( xListener.is(), "need listener!" ); Listeners_t::iterator aIter = |