summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-05-10 09:24:43 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-05-10 09:24:43 +0200
commit88535cad5dfd8bc38c1497de423c6c15494f8eb7 (patch)
tree60024a2d3c0979c70b1f8d779f83548821bf9a44 /forms
parentb063573629a35d5055271f6eb387df19a4a7e60d (diff)
Fix exception specification
Change-Id: I1167d2ebeba97380b65c6e7789ba7fc3ad6b0a1e
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/FormsCollection.hxx4
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); }