diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-28 17:09:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-28 17:55:57 +0100 |
commit | 49fb9186eb220c87fb064b2f95ec9682ef3995aa (patch) | |
tree | c5412fcf39bc6db7ff4bdc50d14eae1cdcda9cb8 /sw | |
parent | 65c75a84b7a42cc68042d37cfc1c7534eebecf5f (diff) |
coverity#1308530 Uncaught exception
Change-Id: I13616337401c23fb95f83accb9a635204339405e
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/unocrsrhelper.hxx | 3 | ||||
-rw-r--r-- | sw/source/core/unocore/unoobj.cxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sw/inc/unocrsrhelper.hxx b/sw/inc/unocrsrhelper.hxx index 0210c72f3bdc..02f5ca1fcf4d 100644 --- a/sw/inc/unocrsrhelper.hxx +++ b/sw/inc/unocrsrhelper.hxx @@ -224,7 +224,8 @@ namespace SwUnoCursorHelper SfxItemPropertySimpleEntry const& rEntry, ::com::sun::star::uno::Any const& rValue, SwPaM & rPam, SfxItemSet & rItemSet) - throw (::com::sun::star::lang::IllegalArgumentException, css::uno::RuntimeException, css::uno::DeploymentException); + throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, + css::uno::DeploymentException, std::exception); /// 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 4ca80626268a..3c785e9e5b76 100644 --- a/sw/source/core/unocore/unoobj.cxx +++ b/sw/source/core/unocore/unoobj.cxx @@ -474,7 +474,8 @@ bool SwUnoCursorHelper::SetCursorPropertyValue( SfxItemPropertySimpleEntry const& rEntry, const uno::Any& rValue, SwPaM & rPam, SfxItemSet & rItemSet) -throw (lang::IllegalArgumentException, uno::RuntimeException, uno::DeploymentException) +throw (lang::IllegalArgumentException, uno::RuntimeException, + uno::DeploymentException, std::exception) { if (!(rEntry.nFlags & beans::PropertyAttribute::MAYBEVOID) && (rValue.getValueType() == cppu::UnoType<void>::get())) |