summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-28 17:12:46 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-28 17:55:58 +0100
commitd1eb269491e8e0d5dbc56374376966a5e6ea5890 (patch)
tree0087e3e4a0c27491b92765657d7c7d7606505470 /sw
parent8e1dd507199696988ab8f6044b4bb07bab781fe1 (diff)
coverity#1308534 Uncaught exception
Change-Id: Ia515fb55486cd5d3bb95ad3dbbb0cc554c0c1547
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/unocrsrhelper.hxx2
-rw-r--r--sw/source/core/unocore/unoobj.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/unocrsrhelper.hxx b/sw/inc/unocrsrhelper.hxx
index 02f5ca1fcf4d..5a82bd4602ba 100644
--- a/sw/inc/unocrsrhelper.hxx
+++ b/sw/inc/unocrsrhelper.hxx
@@ -219,7 +219,7 @@ namespace SwUnoCursorHelper
const ::com::sun::star::uno::Any& rValue,
SwDoc & rDoc, SfxItemSet & rSet);
void SetTextFormatColl(const ::com::sun::star::uno::Any & rAny, SwPaM & rPaM)
- throw (::com::sun::star::lang::IllegalArgumentException, css::uno::RuntimeException);
+ throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception);
bool SetCursorPropertyValue(
SfxItemPropertySimpleEntry const& rEntry,
::com::sun::star::uno::Any const& rValue,
diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx
index 3c785e9e5b76..c2fbd477a3a9 100644
--- a/sw/source/core/unocore/unoobj.cxx
+++ b/sw/source/core/unocore/unoobj.cxx
@@ -261,7 +261,7 @@ throw (lang::IllegalArgumentException)
void
SwUnoCursorHelper::SetTextFormatColl(const uno::Any & rAny, SwPaM & rPaM)
-throw (lang::IllegalArgumentException, uno::RuntimeException)
+throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception)
{
SwDoc *const pDoc = rPaM.GetDoc();
SwDocShell *const pDocSh = pDoc->GetDocShell();