summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-28 21:11:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-28 21:11:01 +0100
commit99de5f603b0af9a0fad4f59cc0e8cff305d3cb89 (patch)
treec93c811ad84f47a7623180b7165363f6cf0d9b6b
parent565e135bf6750408f4155b03e90c943fcf944a9d (diff)
coverity#1308566 Uncaught exception
Change-Id: Ib7678784dc822bc84eee0c522c1b2df5de6d6713
-rw-r--r--sw/source/core/access/accpara.cxx3
-rw-r--r--sw/source/core/access/accpara.hxx3
2 files changed, 4 insertions, 2 deletions
diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx
index 7815447e2381..90d924849a18 100644
--- a/sw/source/core/access/accpara.cxx
+++ b/sw/source/core/access/accpara.cxx
@@ -874,7 +874,8 @@ bool SwAccessibleParagraph::GetTextBoundary(
throw (
lang::IndexOutOfBoundsException,
lang::IllegalArgumentException,
- uno::RuntimeException)
+ uno::RuntimeException,
+ std::exception)
{
// error checking
if( !( AccessibleTextType::LINE == nTextType
diff --git a/sw/source/core/access/accpara.hxx b/sw/source/core/access/accpara.hxx
index bc604fbb5a65..475886684f73 100644
--- a/sw/source/core/access/accpara.hxx
+++ b/sw/source/core/access/accpara.hxx
@@ -233,7 +233,8 @@ protected:
throw (
::com::sun::star::lang::IndexOutOfBoundsException,
::com::sun::star::lang::IllegalArgumentException,
- ::com::sun::star::uno::RuntimeException);
+ ::com::sun::star::uno::RuntimeException,
+ std::exception);
virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew) SAL_OVERRIDE;