diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-28 20:55:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-28 20:59:31 +0100 |
commit | bcb055fb1a230379bead940ca496c0b272683ce2 (patch) | |
tree | 9bfa0b6fabb43d3208007d2c03e8b72127b71b76 | |
parent | 37d2cdde6657ac5c4a582bdbe0e7a4e0e07b1d13 (diff) |
coverity#1308551 Uncaught exception
Change-Id: I61fb5e047b64873b3f5e07582dd1155340d7a1b5
6 files changed, 6 insertions, 6 deletions
diff --git a/editeng/source/accessibility/AccessibleContextBase.cxx b/editeng/source/accessibility/AccessibleContextBase.cxx index 7cca7bab8ae8..3217f0d8e307 100644 --- a/editeng/source/accessibility/AccessibleContextBase.cxx +++ b/editeng/source/accessibility/AccessibleContextBase.cxx @@ -577,7 +577,7 @@ OUString AccessibleContextBase::CreateAccessibleDescription() OUString AccessibleContextBase::CreateAccessibleName() - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { return OUString("Empty Name"); } diff --git a/include/editeng/AccessibleContextBase.hxx b/include/editeng/AccessibleContextBase.hxx index 857e2e2a6661..391857d3104d 100644 --- a/include/editeng/AccessibleContextBase.hxx +++ b/include/editeng/AccessibleContextBase.hxx @@ -307,7 +307,7 @@ protected: siblings) name. */ virtual OUString CreateAccessibleName() - throw (::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::uno::RuntimeException, std::exception); /** Create the accessible object's descriptive string. May be called more than once. diff --git a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx index c8baa629cad7..bc21e83371cd 100644 --- a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx +++ b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx @@ -639,7 +639,7 @@ void SAL_CALL AccessibleDocumentViewBase::disposing() /// Create a name for this view. OUString AccessibleDocumentViewBase::CreateAccessibleName() - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { return OUString ("AccessibleDocumentViewBase"); } diff --git a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx index 2e85582e3de5..fc6a7edfcc54 100644 --- a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx +++ b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx @@ -554,7 +554,7 @@ OUString AccessibleDrawDocumentView::getObjectLink( const uno::Any& rAny ) /// Create a name for this view. OUString AccessibleDrawDocumentView::CreateAccessibleName() - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { OUString sName; diff --git a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx index 8dd5fe3aeaf4..6c44a3ab5793 100644 --- a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx +++ b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx @@ -319,7 +319,7 @@ protected: */ virtual OUString CreateAccessibleName () - throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** Create a description string. The current description is not modified and, therefore, no events are send. This method is usually diff --git a/sd/source/ui/inc/AccessibleDrawDocumentView.hxx b/sd/source/ui/inc/AccessibleDrawDocumentView.hxx index 5552c723c3f0..75393d29630f 100644 --- a/sd/source/ui/inc/AccessibleDrawDocumentView.hxx +++ b/sd/source/ui/inc/AccessibleDrawDocumentView.hxx @@ -161,7 +161,7 @@ protected: /// Create an accessible name that contains the current view mode. virtual OUString CreateAccessibleName () - throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** Create an accessible description that contains the current view mode. |