coverity#1372384 Uncaught exception

Change-Id: I4451623ba950b93e0efba5b3ec755622c2bea2bc
This commit is contained in:
Caolán McNamara
2016-08-31 21:34:11 +01:00
parent ca409c68e2
commit 66f7aaf766
2 changed files with 2 additions and 2 deletions

View File

@@ -171,7 +171,7 @@ Sequence< OUString > SAL_CALL SvxUnoNumberingRules::getSupportedServiceNames( )
} }
Sequence<beans::PropertyValue> SvxUnoNumberingRules::getNumberingRuleByIndex(sal_Int32 nIndex) const Sequence<beans::PropertyValue> SvxUnoNumberingRules::getNumberingRuleByIndex(sal_Int32 nIndex) const
throw (RuntimeException) throw (RuntimeException, std::exception)
{ {
// NumberingRule aRule; // NumberingRule aRule;
const SvxNumberFormat& rFmt = maRule.GetLevel((sal_uInt16) nIndex); const SvxNumberFormat& rFmt = maRule.GetLevel((sal_uInt16) nIndex);

View File

@@ -73,7 +73,7 @@ public:
// internal // internal
css::uno::Sequence<css::beans::PropertyValue> getNumberingRuleByIndex( sal_Int32 nIndex) const 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) void setNumberingRuleByIndex(const css::uno::Sequence<css::beans::PropertyValue>& rProperties, sal_Int32 nIndex)
throw (css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception); throw (css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception);