diff options
Diffstat (limited to 'forms/source/xforms/NameContainer.hxx')
-rw-r--r-- | forms/source/xforms/NameContainer.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/forms/source/xforms/NameContainer.hxx b/forms/source/xforms/NameContainer.hxx index fd93acb12010..7484eeeb7bae 100644 --- a/forms/source/xforms/NameContainer.hxx +++ b/forms/source/xforms/NameContainer.hxx @@ -97,13 +97,13 @@ public: // virtual com::sun::star::uno::Type SAL_CALL getElementType() - throw( com::sun::star::uno::RuntimeException ) + throw( com::sun::star::uno::RuntimeException, std::exception ) { return getCppuType( static_cast<T*>( NULL ) ); } virtual sal_Bool SAL_CALL hasElements() - throw( com::sun::star::uno::RuntimeException ) + throw( com::sun::star::uno::RuntimeException, std::exception ) { return hasItems(); } @@ -117,7 +117,7 @@ public: const OUString& rName ) throw( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException, - com::sun::star::uno::RuntimeException ) + com::sun::star::uno::RuntimeException, std::exception ) { typename map_t::const_iterator aIter = findItem( rName ); if( aIter == maItems.end() ) @@ -127,7 +127,7 @@ public: } virtual com::sun::star::uno::Sequence<OUString> SAL_CALL getElementNames() - throw( com::sun::star::uno::RuntimeException ) + throw( com::sun::star::uno::RuntimeException, std::exception ) { com::sun::star::uno::Sequence<OUString> aSequence( maItems.size() ); typename map_t::const_iterator aIter = maItems.begin(); @@ -145,7 +145,7 @@ public: virtual sal_Bool SAL_CALL hasByName( const OUString& rName ) - throw( com::sun::star::uno::RuntimeException ) + throw( com::sun::star::uno::RuntimeException, std::exception ) { return hasItem( rName ); } @@ -161,7 +161,7 @@ public: throw( com::sun::star::lang::IllegalArgumentException, com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException, - com::sun::star::uno::RuntimeException) + com::sun::star::uno::RuntimeException, std::exception) { T aItem; if( aElement >>= aItem ) @@ -184,7 +184,7 @@ public: throw( com::sun::star::lang::IllegalArgumentException, com::sun::star::container::ElementExistException, com::sun::star::lang::WrappedTargetException, - com::sun::star::uno::RuntimeException ) + com::sun::star::uno::RuntimeException, std::exception ) { T aItem; if( aElement >>= aItem ) @@ -200,7 +200,7 @@ public: const OUString& rName ) throw( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException, - com::sun::star::uno::RuntimeException) + com::sun::star::uno::RuntimeException, std::exception) { if( hasByName( rName ) ) remove( rName ); |