summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-17 09:33:32 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-17 15:19:49 +0100
commit6bb741b7f4cc29c479158a816a47303ce152d74e (patch)
tree33147a6de549c2224a6cb269e4f33798f11f2c94 /sw
parent3e6ff5ed37d810e732994a983afa25f9a0ac3901 (diff)
coverity#1247638 Uncaught exception
Change-Id: Ibdda31c2a8d8c3314173f381b60800ccfbcc25f7
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/unosett.hxx2
-rw-r--r--sw/source/core/unocore/unosett.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/unosett.hxx b/sw/inc/unosett.hxx
index a8e0b50d18f1..93d0ca46430f 100644
--- a/sw/inc/unosett.hxx
+++ b/sw/inc/unosett.hxx
@@ -195,7 +195,7 @@ public:
GetNumberingRuleByIndex(const SwNumRule& rNumRule, sal_Int32 nIndex)const;
void SetNumberingRuleByIndex(SwNumRule& rNumRule,
const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& rProperties, sal_Int32 nIndex)
- throw( ::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::IllegalArgumentException );
+ throw (css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception);
const OUString* GetNewCharStyleNames() const {return m_sNewCharStyleNames;}
const OUString* GetBulletFontNames() const {return m_sNewBulletFontNames;}
diff --git a/sw/source/core/unocore/unosett.cxx b/sw/source/core/unocore/unosett.cxx
index 0b63cef133b1..10693c005371 100644
--- a/sw/source/core/unocore/unosett.cxx
+++ b/sw/source/core/unocore/unosett.cxx
@@ -1589,7 +1589,7 @@ static PropValData* lcl_FindProperty(const char* cName, PropValDataArr& rProp
void SwXNumberingRules::SetNumberingRuleByIndex(
SwNumRule& rNumRule,
const uno::Sequence<beans::PropertyValue>& rProperties, sal_Int32 nIndex)
- throw( uno::RuntimeException, lang::IllegalArgumentException )
+ throw (uno::RuntimeException, lang::IllegalArgumentException, std::exception)
{
SolarMutexGuard aGuard;
OSL_ENSURE( 0 <= nIndex && nIndex < MAXLEVEL, "index out of range" );