diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-28 17:26:56 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-28 17:56:02 +0100 |
commit | 6c0a94a9578d888ad142724ee8c2699922652e01 (patch) | |
tree | e78c0cf04f511f9e9a7d87473d3da8e3380e538f /scaddins/source | |
parent | b3fdb90d94a96e6c3c309b8ff39a79be51461277 (diff) |
coverity#1308546 Uncaught exception
Change-Id: Ia5b1c50ecff3fde4b698012304cd75fa1a7b4ce6
Diffstat (limited to 'scaddins/source')
-rw-r--r-- | scaddins/source/pricing/pricing.cxx | 2 | ||||
-rw-r--r-- | scaddins/source/pricing/pricing.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scaddins/source/pricing/pricing.cxx b/scaddins/source/pricing/pricing.cxx index 91cc0df5dcb8..130f9b0e0cd1 100644 --- a/scaddins/source/pricing/pricing.cxx +++ b/scaddins/source/pricing/pricing.cxx @@ -266,7 +266,7 @@ void ScaPricingAddIn::InitData() } } -OUString ScaPricingAddIn::GetDisplFuncStr( sal_uInt16 nResId ) throw( uno::RuntimeException ) +OUString ScaPricingAddIn::GetDisplFuncStr( sal_uInt16 nResId ) throw( uno::RuntimeException, std::exception ) { return ScaResStringLoader( RID_PRICING_FUNCTION_NAMES, nResId, GetResMgr() ).GetString(); } diff --git a/scaddins/source/pricing/pricing.hxx b/scaddins/source/pricing/pricing.hxx index 316d0129dd98..d125a2e4d217 100644 --- a/scaddins/source/pricing/pricing.hxx +++ b/scaddins/source/pricing/pricing.hxx @@ -322,7 +322,7 @@ private: ResMgr& GetResMgr() throw( css::uno::RuntimeException ); void InitData(); - OUString GetDisplFuncStr( sal_uInt16 nResId ) throw( css::uno::RuntimeException ); + OUString GetDisplFuncStr( sal_uInt16 nResId ) throw( css::uno::RuntimeException, std::exception ); OUString GetFuncDescrStr( sal_uInt16 nResId, sal_uInt16 nStrIndex ) throw( css::uno::RuntimeException ); public: |