Kaydet (Commit) f87c4329 authored tarafından Andre Fischer's avatar Andre Fischer

#i105958# Fixed throw part of declaration of getAccessibleChild().

üst 43936a87
...@@ -39,17 +39,11 @@ ...@@ -39,17 +39,11 @@
#include <com/sun/star/frame/XFrame.hpp> #include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/document/XEventBroadcaster.hpp> #include <com/sun/star/document/XEventBroadcaster.hpp>
#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/beans/XPropertySet.hpp>
#ifndef _COM_SUN_STAR_ACCESSIBLE_ACCESSIBLEEVENTID_HPP_
#include <com/sun/star/accessibility/AccessibleEventId.hpp> #include <com/sun/star/accessibility/AccessibleEventId.hpp>
#endif
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#ifndef _COM_SUN_STAR_LANG_XMULSTISERVICEFACTORY_HPP_
#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp>
#endif
#include <rtl/ustring.h> #include <rtl/ustring.h>
#ifndef _SFXFRAME_HXX
#include<sfx2/viewfrm.hxx> #include<sfx2/viewfrm.hxx>
#endif
#include <svx/AccessibleShape.hxx> #include <svx/AccessibleShape.hxx>
...@@ -279,7 +273,7 @@ sal_Int32 SAL_CALL ...@@ -279,7 +273,7 @@ sal_Int32 SAL_CALL
Reference<XAccessible> SAL_CALL Reference<XAccessible> SAL_CALL
AccessibleDocumentViewBase::getAccessibleChild (sal_Int32 nIndex) AccessibleDocumentViewBase::getAccessibleChild (sal_Int32 nIndex)
throw (uno::RuntimeException) throw (uno::RuntimeException, lang::IndexOutOfBoundsException)
{ {
ThrowIfDisposed (); ThrowIfDisposed ();
......
...@@ -40,20 +40,11 @@ ...@@ -40,20 +40,11 @@
#include <com/sun/star/frame/XFrame.hpp> #include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/document/XEventBroadcaster.hpp> #include <com/sun/star/document/XEventBroadcaster.hpp>
#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/beans/XPropertySet.hpp>
#ifndef _COM_SUN_STAR_ACCESSIBLE_ACCESSIBLEEVENTID_HPP_
#include <com/sun/star/accessibility/AccessibleEventId.hpp> #include <com/sun/star/accessibility/AccessibleEventId.hpp>
#endif
#ifndef _COM_SUN_STAR_ACCESSIBLE_ACCESSIBLESTATETYPE_HPP_
#include <com/sun/star/accessibility/AccessibleStateType.hpp> #include <com/sun/star/accessibility/AccessibleStateType.hpp>
#endif
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#ifndef _COM_SUN_STAR_LANG_XMULSTISERVICEFACTORY_HPP_
#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp>
#endif
#include <rtl/ustring.h> #include <rtl/ustring.h>
#ifndef _SFXFRAME_HXX
#include<sfx2/viewfrm.hxx> #include<sfx2/viewfrm.hxx>
#endif
#include <svx/AccessibleShape.hxx> #include <svx/AccessibleShape.hxx>
...@@ -243,7 +234,7 @@ sal_Int32 SAL_CALL ...@@ -243,7 +234,7 @@ sal_Int32 SAL_CALL
uno::Reference<XAccessible> SAL_CALL uno::Reference<XAccessible> SAL_CALL
AccessibleDrawDocumentView::getAccessibleChild (sal_Int32 nIndex) AccessibleDrawDocumentView::getAccessibleChild (sal_Int32 nIndex)
throw (::com::sun::star::uno::RuntimeException) throw (uno::RuntimeException, lang::IndexOutOfBoundsException)
{ {
ThrowIfDisposed (); ThrowIfDisposed ();
......
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
#include <com/sun/star/awt/XFocusListener.hpp> #include <com/sun/star/awt/XFocusListener.hpp>
#include <com/sun/star/beans/XPropertyChangeListener.hpp> #include <com/sun/star/beans/XPropertyChangeListener.hpp>
#include <com/sun/star/accessibility/XAccessible.hpp> #include <com/sun/star/accessibility/XAccessible.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <tools/link.hxx> #include <tools/link.hxx>
namespace sd { namespace sd {
...@@ -159,7 +160,8 @@ public: ...@@ -159,7 +160,8 @@ public:
virtual ::com::sun::star::uno::Reference< virtual ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessible> SAL_CALL ::com::sun::star::accessibility::XAccessible> SAL_CALL
getAccessibleChild (sal_Int32 nIndex) getAccessibleChild (sal_Int32 nIndex)
throw (::com::sun::star::uno::RuntimeException); throw (::com::sun::star::uno::RuntimeException,
::com::sun::star::lang::IndexOutOfBoundsException);
//===== XAccessibleComponent ============================================ //===== XAccessibleComponent ============================================
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#include "AccessibleDocumentViewBase.hxx" #include "AccessibleDocumentViewBase.hxx"
namespace accessibility { namespace accessibility {
...@@ -78,7 +77,8 @@ public: ...@@ -78,7 +77,8 @@ public:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL
getAccessibleChild (sal_Int32 nIndex) getAccessibleChild (sal_Int32 nIndex)
throw (::com::sun::star::uno::RuntimeException); throw (::com::sun::star::uno::RuntimeException,
::com::sun::star::lang::IndexOutOfBoundsException);
//===== lang::XEventListener ============================================ //===== lang::XEventListener ============================================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment