From 66f7aaf7663c3d7f8c5a13093f7449d14e028b03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 31 Aug 2016 21:34:11 +0100 Subject: [PATCH] coverity#1372384 Uncaught exception Change-Id: I4451623ba950b93e0efba5b3ec755622c2bea2bc --- editeng/source/uno/unonrule.cxx | 2 +- include/editeng/unonrule.hxx | 2 +- 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 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 getNumberingRuleByIndex( sal_Int32 nIndex) const - throw (css::uno::RuntimeException); + throw (css::uno::RuntimeException, std::exception); void setNumberingRuleByIndex(const css::uno::Sequence& rProperties, sal_Int32 nIndex) throw (css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception);