diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-21 14:55:05 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-21 15:30:27 +0000 |
commit | c7a6e0645acc5bf6d92fda8986410866272bbbd6 (patch) | |
tree | 15c847b924fa99b04dfc57aad6c9cd1cabd67181 /sd | |
parent | 59fa74396ff21c98decaa83be724054e5080a536 (diff) |
coverity#1132721 fix exception specs
Change-Id: I1c499f8b994d29e265a66f4219d4c3fddb237a89
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/AccessibleDrawDocumentView.hxx | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx index 9793ccea935a..1ba149e83896 100644 --- a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx +++ b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx @@ -476,7 +476,7 @@ void SAL_CALL //===== XAccessibleGroupPosition ========================================= uno::Sequence< sal_Int32 > SAL_CALL AccessibleDrawDocumentView::getGroupPosition( const uno::Any& rAny ) - throw (uno::RuntimeException) + throw (lang::IndexOutOfBoundsException, uno::RuntimeException) { SolarMutexGuard g; diff --git a/sd/source/ui/inc/AccessibleDrawDocumentView.hxx b/sd/source/ui/inc/AccessibleDrawDocumentView.hxx index 3d8e72cf742d..de4db6b1f8c4 100644 --- a/sd/source/ui/inc/AccessibleDrawDocumentView.hxx +++ b/sd/source/ui/inc/AccessibleDrawDocumentView.hxx @@ -105,7 +105,8 @@ public: //===== XAccessibleGroupPosition ========================================= virtual ::com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL getGroupPosition( const ::com::sun::star::uno::Any& rAny ) - throw (::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::uno::RuntimeException, + ::com::sun::star::lang::IndexOutOfBoundsException); virtual OUString SAL_CALL getObjectLink( const ::com::sun::star::uno::Any& accoject ) throw (::com::sun::star::uno::RuntimeException, std::exception); |