Kaydet (Commit) 65e702b6 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1308541 Uncaught exception

Change-Id: I44981286c997717a71ea2b8c5c4a59d8f9c63c4b
üst 7d59a634
......@@ -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));
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment