diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/accessibility/ChildrenManager.cxx | 3 | ||||
-rw-r--r-- | svx/source/accessibility/ChildrenManagerImpl.cxx | 3 | ||||
-rw-r--r-- | svx/source/accessibility/ChildrenManagerImpl.hxx | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/svx/source/accessibility/ChildrenManager.cxx b/svx/source/accessibility/ChildrenManager.cxx index 958c08db5446..2a1b854e048d 100644 --- a/svx/source/accessibility/ChildrenManager.cxx +++ b/svx/source/accessibility/ChildrenManager.cxx @@ -86,7 +86,8 @@ Reference<XAccessible> ChildrenManager::GetChild (const Reference<drawing::XShap ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape> ChildrenManager::GetChildShape(long nIndex) - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, + ::com::sun::star::lang::IndexOutOfBoundsException) { OSL_ASSERT (mpImpl != NULL); return mpImpl->GetChildShape(nIndex); diff --git a/svx/source/accessibility/ChildrenManagerImpl.cxx b/svx/source/accessibility/ChildrenManagerImpl.cxx index f0ad75ad9df2..89d647e9f9e6 100644 --- a/svx/source/accessibility/ChildrenManagerImpl.cxx +++ b/svx/source/accessibility/ChildrenManagerImpl.cxx @@ -115,7 +115,8 @@ long ChildrenManagerImpl::GetChildCount (void) const throw () ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape> ChildrenManagerImpl::GetChildShape(long nIndex) - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, + ::com::sun::star::lang::IndexOutOfBoundsException) { uno::Reference<XAccessible> xAcc = GetChild(nIndex); ChildDescriptorListType::iterator I, aEnd = maVisibleChildren.end(); diff --git a/svx/source/accessibility/ChildrenManagerImpl.hxx b/svx/source/accessibility/ChildrenManagerImpl.hxx index 525f01d56897..865a7d5ffe02 100644 --- a/svx/source/accessibility/ChildrenManagerImpl.hxx +++ b/svx/source/accessibility/ChildrenManagerImpl.hxx @@ -121,7 +121,8 @@ public: ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape> GetChildShape(long nIndex) - throw (::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::uno::RuntimeException, + ::com::sun::star::lang::IndexOutOfBoundsException); /** Return the requested accessible child or throw and IndexOutOfBoundsException if the given index is invalid. @param nIndex |