[Libreoffice-commits] core.git: forms/source

Stephan Bergmann sbergman at redhat.com
Fri May 10 00:25:10 PDT 2013


 forms/source/component/FormsCollection.hxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 88535cad5dfd8bc38c1497de423c6c15494f8eb7
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri May 10 09:24:43 2013 +0200

    Fix exception specification
    
    Change-Id: I1167d2ebeba97380b65c6e7789ba7fc3ad6b0a1e

diff --git a/forms/source/component/FormsCollection.hxx b/forms/source/component/FormsCollection.hxx
index 929b206..e1fd99b 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); }


More information about the Libreoffice-commits mailing list