summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-27 20:34:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-28 13:22:58 +0100
commit2005435656362026f662e48600b163f54579b1f6 (patch)
treed87b9e7533cfa51b9681d49c8f72c8900cd4a163
parent4fa3be936eb0cea7c7d0a2203becd5d84e09fa4a (diff)
coverity#1308491 Uncaught exception
Change-Id: I5565095d124b409c8e8f83b2dfa32ef57665a4c7
-rw-r--r--sw/inc/unocrsrhelper.hxx5
-rw-r--r--sw/source/core/unocore/unoobj.cxx2
2 files changed, 4 insertions, 3 deletions
diff --git a/sw/inc/unocrsrhelper.hxx b/sw/inc/unocrsrhelper.hxx
index f19cd6961753..0210c72f3bdc 100644
--- a/sw/inc/unocrsrhelper.hxx
+++ b/sw/inc/unocrsrhelper.hxx
@@ -181,8 +181,9 @@ namespace SwUnoCursorHelper
const SfxItemPropertySet & rPropSet,
const OUString & rPropertyName)
throw (::com::sun::star::beans::UnknownPropertyException,
- ::com::sun::star::lang::WrappedTargetException,
- ::com::sun::star::uno::RuntimeException);
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException,
+ std::exception);
::com::sun::star::uno::Sequence<
::com::sun::star::beans::PropertyState > GetPropertyStates(
SwPaM & rPaM,
diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx
index 38479c7acef2..4ca80626268a 100644
--- a/sw/source/core/unocore/unoobj.cxx
+++ b/sw/source/core/unocore/unoobj.cxx
@@ -1732,7 +1732,7 @@ uno::Any SwUnoCursorHelper::GetPropertyValue(
SwPaM& rPaM, const SfxItemPropertySet& rPropSet,
const OUString& rPropertyName)
throw (beans::UnknownPropertyException, lang::WrappedTargetException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
uno::Any aAny;
SfxItemPropertySimpleEntry const*const pEntry =