diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-17 09:30:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-17 15:19:47 +0100 |
commit | 0c0c77af0625dd2bf94bd837e8989ed092c3725b (patch) | |
tree | 046567a0b9912074dd613a32af7679c583bc4434 | |
parent | b0a91289a0fb40f81af1d3291f1a0f203ce006ca (diff) |
coverity#1247635 Uncaught exception
Change-Id: Ic346a5820102a922f54c971e01587601991bd484
-rw-r--r-- | editeng/source/uno/unonrule.cxx | 4 | ||||
-rw-r--r-- | include/editeng/unonrule.hxx | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/editeng/source/uno/unonrule.cxx b/editeng/source/uno/unonrule.cxx index 78c4d17b5391..5959a72f4277 100644 --- a/editeng/source/uno/unonrule.cxx +++ b/editeng/source/uno/unonrule.cxx @@ -268,8 +268,8 @@ Sequence<beans::PropertyValue> SvxUnoNumberingRules::getNumberingRuleByIndex(sal return aSeq; } -void SvxUnoNumberingRules::setNumberingRuleByIndex( const Sequence< beans::PropertyValue >& rProperties, sal_Int32 nIndex) - throw( RuntimeException, IllegalArgumentException ) +void SvxUnoNumberingRules::setNumberingRuleByIndex(const Sequence<beans::PropertyValue >& rProperties, sal_Int32 nIndex) + throw (RuntimeException, IllegalArgumentException, std::exception) { SvxNumberFormat aFmt(maRule.GetLevel( (sal_uInt16)nIndex )); const beans::PropertyValue* pPropArray = rProperties.getConstArray(); diff --git a/include/editeng/unonrule.hxx b/include/editeng/unonrule.hxx index f600b6ab5753..479d45061088 100644 --- a/include/editeng/unonrule.hxx +++ b/include/editeng/unonrule.hxx @@ -74,7 +74,8 @@ public: // internal com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> getNumberingRuleByIndex( sal_Int32 nIndex) const throw (css::uno::RuntimeException); - void setNumberingRuleByIndex( 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 ); + void setNumberingRuleByIndex(const css::uno::Sequence<css::beans::PropertyValue>& rProperties, sal_Int32 nIndex) + throw (css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception); static sal_Int16 Compare( const com::sun::star::uno::Any& rAny1, const com::sun::star::uno::Any& rAny2 ); |