diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-27 14:34:01 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-27 14:38:39 +0000 |
commit | 6b44c30bcb1f8387fd1848d0052cc809600950f4 (patch) | |
tree | 7be1dbae31067e6ff0dbbcce85d806b19075e7e5 /basctl | |
parent | d76dc580a2cb60794e91b921008b8585d5a137e4 (diff) |
coverity#736985 Uncaught exception
Change-Id: I58f2bc50a87ed07340caa148b4ade07062d730fc
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/accessibility/accessibledialogwindow.cxx | 3 | ||||
-rw-r--r-- | basctl/source/inc/accessibledialogwindow.hxx | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/basctl/source/accessibility/accessibledialogwindow.cxx b/basctl/source/accessibility/accessibledialogwindow.cxx index ee170473898a..6138f29affc5 100644 --- a/basctl/source/accessibility/accessibledialogwindow.cxx +++ b/basctl/source/accessibility/accessibledialogwindow.cxx @@ -961,7 +961,8 @@ sal_Bool AccessibleDialogWindow::isAccessibleChildSelected( sal_Int32 nChildInde // ----------------------------------------------------------------------------- -void AccessibleDialogWindow::clearAccessibleSelection( ) throw (RuntimeException) +void AccessibleDialogWindow::clearAccessibleSelection() + throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); diff --git a/basctl/source/inc/accessibledialogwindow.hxx b/basctl/source/inc/accessibledialogwindow.hxx index 884cb64f9ff7..ff0e4a389758 100644 --- a/basctl/source/inc/accessibledialogwindow.hxx +++ b/basctl/source/inc/accessibledialogwindow.hxx @@ -155,7 +155,9 @@ public: // XAccessibleSelection virtual void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException); - virtual void SAL_CALL clearAccessibleSelection( ) throw (::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL clearAccessibleSelection() + throw (::com::sun::star::uno::RuntimeException, + std::exception); virtual void SAL_CALL selectAllAccessibleChildren( ) throw (::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getSelectedAccessibleChildCount( ) throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException); |