summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-28 17:20:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-28 17:56:00 +0100
commit65e702b68a245b3570b5260d64fd5436eb3de78c (patch)
tree80d0c491585fbe09151221cac91505da66ada74d /sc
parent7d59a63471d91baa2e16351612180118e5dc39f0 (diff)
coverity#1308541 Uncaught exception
Change-Id: I44981286c997717a71ea2b8c5c4a59d8f9c63c4b
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/Accessibility/AccessiblePageHeader.cxx2
-rw-r--r--sc/source/ui/inc/AccessiblePageHeader.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/Accessibility/AccessiblePageHeader.cxx b/sc/source/ui/Accessibility/AccessiblePageHeader.cxx
index 936a8fce7561..a0ee61710463 100644
--- a/sc/source/ui/Accessibility/AccessiblePageHeader.cxx
+++ b/sc/source/ui/Accessibility/AccessiblePageHeader.cxx
@@ -332,7 +332,7 @@ uno::Sequence<OUString> SAL_CALL ScAccessiblePageHeader::getSupportedServiceName
//==== internal =========================================================
OUString SAL_CALL ScAccessiblePageHeader::createAccessibleDescription()
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
OUString sDesc(SC_RESSTR(mbHeader ? STR_ACC_HEADER_DESCR : STR_ACC_FOOTER_DESCR));
return sDesc.replaceFirst("%1", SC_RESSTR(SCSTR_UNKNOWN));
diff --git a/sc/source/ui/inc/AccessiblePageHeader.hxx b/sc/source/ui/inc/AccessiblePageHeader.hxx
index 5e00d62fc8c1..86bfd28fcafe 100644
--- a/sc/source/ui/inc/AccessiblePageHeader.hxx
+++ b/sc/source/ui/inc/AccessiblePageHeader.hxx
@@ -77,7 +77,7 @@ public:
void SetCurrentIndexInParent(sal_Int32 nNew) { mnIndex = nNew; }
protected:
- virtual OUString SAL_CALL createAccessibleDescription() throw(::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
+ virtual OUString SAL_CALL createAccessibleDescription() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual OUString SAL_CALL createAccessibleName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual Rectangle GetBoundingBoxOnScreen() const throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;