From 65e702b68a245b3570b5260d64fd5436eb3de78c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 28 Jun 2015 17:20:50 +0100 Subject: coverity#1308541 Uncaught exception Change-Id: I44981286c997717a71ea2b8c5c4a59d8f9c63c4b --- sc/source/ui/Accessibility/AccessiblePageHeader.cxx | 2 +- sc/source/ui/inc/AccessiblePageHeader.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sc') 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 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; -- cgit