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);