summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-26 16:50:57 +0200
committerNoel Grandin <noel@peralex.com>2014-05-27 10:49:58 +0200
commitd105483207194d5053833be328855376d15869a7 (patch)
tree9811c71b4fb1174ca6b8a8307c573c3d4c8ff2fa /sw
parentba00f596cfbb78046e705f1d45264951bf03a9a1 (diff)
cid#707296 and cid#738184 Uncaught exception
Change-Id: I59d1a0818bd896f0ac601c72e7f6cc89f95f043c
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 050c5c069307..a3985ca69b0b 100644
--- a/sw/inc/unocrsrhelper.hxx
+++ b/sw/inc/unocrsrhelper.hxx
@@ -223,7 +223,7 @@ namespace SwUnoCursorHelper
SfxItemPropertySimpleEntry const& rEntry,
::com::sun::star::uno::Any const& rValue,
SwPaM & rPam, SfxItemSet & rItemSet)
- throw (::com::sun::star::lang::IllegalArgumentException);
+ throw (::com::sun::star::lang::IllegalArgumentException, css::uno::RuntimeException, css::uno::DeploymentException);
/// try to get something that can be selected out of the XInterface
/// at most one of the out parameters gets assigned a non-null value
diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx
index 72e9d796007a..416335c17409 100644
--- a/sw/source/core/unocore/unoobj.cxx
+++ b/sw/source/core/unocore/unoobj.cxx
@@ -479,7 +479,7 @@ bool
SwUnoCursorHelper::SetCursorPropertyValue(
SfxItemPropertySimpleEntry const& rEntry, const uno::Any& rValue,
SwPaM & rPam, SfxItemSet & rItemSet)
-throw (lang::IllegalArgumentException)
+throw (lang::IllegalArgumentException, uno::RuntimeException, uno::DeploymentException)
{
if (!(rEntry.nFlags & beans::PropertyAttribute::MAYBEVOID) &&
(rValue.getValueType() == ::getCppuVoidType()))