diff options
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/FormsCollection.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/forms/source/component/FormsCollection.hxx b/forms/source/component/FormsCollection.hxx index 929b2061acfd..e1fd99b56c36 100644 --- a/forms/source/component/FormsCollection.hxx +++ b/forms/source/component/FormsCollection.hxx @@ -105,7 +105,9 @@ public: { OInterfaceContainer::removeByName(p1); } virtual sal_Int32 SAL_CALL getCount() throw (css::uno::RuntimeException) { return OInterfaceContainer::getCount(); } - virtual com::sun::star::uno::Any SAL_CALL getByIndex(sal_Int32 p1) throw (css::uno::RuntimeException) + virtual com::sun::star::uno::Any SAL_CALL getByIndex(sal_Int32 p1) + throw (css::lang::IndexOutOfBoundsException, + css::lang::WrappedTargetException, css::uno::RuntimeException) { return OInterfaceContainer::getByIndex(p1); } virtual void SAL_CALL replaceByIndex(sal_Int32 p1, const com::sun::star::uno::Any& p2) throw (css::uno::RuntimeException) { return OInterfaceContainer::replaceByIndex(p1, p2); } |