summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-08-31 21:34:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-09-01 10:40:14 +0100
commit66f7aaf7663c3d7f8c5a13093f7449d14e028b03 (patch)
tree9c00385111e7f5d216a87c40851eb5a13d72a689
parentca409c68e22d6f9257311b399199f512cb150cd8 (diff)
coverity#1372384 Uncaught exception
Change-Id: I4451623ba950b93e0efba5b3ec755622c2bea2bc
-rw-r--r--editeng/source/uno/unonrule.cxx2
-rw-r--r--include/editeng/unonrule.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/uno/unonrule.cxx b/editeng/source/uno/unonrule.cxx
index f46599e140ee..313d5928f760 100644
--- a/editeng/source/uno/unonrule.cxx
+++ b/editeng/source/uno/unonrule.cxx
@@ -171,7 +171,7 @@ Sequence< OUString > SAL_CALL SvxUnoNumberingRules::getSupportedServiceNames( )
}
Sequence<beans::PropertyValue> SvxUnoNumberingRules::getNumberingRuleByIndex(sal_Int32 nIndex) const
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
// NumberingRule aRule;
const SvxNumberFormat& rFmt = maRule.GetLevel((sal_uInt16) nIndex);
diff --git a/include/editeng/unonrule.hxx b/include/editeng/unonrule.hxx
index d77883604a75..461fed4ea1a6 100644
--- a/include/editeng/unonrule.hxx
+++ b/include/editeng/unonrule.hxx
@@ -73,7 +73,7 @@ public:
// internal
css::uno::Sequence<css::beans::PropertyValue> getNumberingRuleByIndex( sal_Int32 nIndex) const
- throw (css::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
void setNumberingRuleByIndex(const css::uno::Sequence<css::beans::PropertyValue>& rProperties, sal_Int32 nIndex)
throw (css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception);