summaryrefslogtreecommitdiff
path: root/scaddins
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-29 09:08:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-29 09:43:32 +0100
commited450f7e65198aebd19d745991358302ca14d0c9 (patch)
tree7aa1798ca9f8aef35981cba1bdf9036dbbdf1e8c /scaddins
parent4e4760ef42b2a1da76d697d607a78ac39ac25ed3 (diff)
coverity#1308568 Uncaught exception
Change-Id: Ic9e4136619d9babe5333f815c9a0268830fbc0d6
Diffstat (limited to 'scaddins')
-rw-r--r--scaddins/source/pricing/pricing.cxx2
-rw-r--r--scaddins/source/pricing/pricing.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/scaddins/source/pricing/pricing.cxx b/scaddins/source/pricing/pricing.cxx
index 130f9b0e0cd1..2f6b668338ef 100644
--- a/scaddins/source/pricing/pricing.cxx
+++ b/scaddins/source/pricing/pricing.cxx
@@ -271,7 +271,7 @@ OUString ScaPricingAddIn::GetDisplFuncStr( sal_uInt16 nResId ) throw( uno::Runti
return ScaResStringLoader( RID_PRICING_FUNCTION_NAMES, nResId, GetResMgr() ).GetString();
}
-OUString ScaPricingAddIn::GetFuncDescrStr( sal_uInt16 nResId, sal_uInt16 nStrIndex ) throw( uno::RuntimeException )
+OUString ScaPricingAddIn::GetFuncDescrStr( sal_uInt16 nResId, sal_uInt16 nStrIndex ) throw( uno::RuntimeException, std::exception )
{
OUString aRet;
diff --git a/scaddins/source/pricing/pricing.hxx b/scaddins/source/pricing/pricing.hxx
index d125a2e4d217..92a9d20d2fe6 100644
--- a/scaddins/source/pricing/pricing.hxx
+++ b/scaddins/source/pricing/pricing.hxx
@@ -323,7 +323,7 @@ private:
void InitData();
OUString GetDisplFuncStr( sal_uInt16 nResId ) throw( css::uno::RuntimeException, std::exception );
- OUString GetFuncDescrStr( sal_uInt16 nResId, sal_uInt16 nStrIndex ) throw( css::uno::RuntimeException );
+ OUString GetFuncDescrStr( sal_uInt16 nResId, sal_uInt16 nStrIndex ) throw( css::uno::RuntimeException, std::exception );
public:
ScaPricingAddIn();