From 6c0a94a9578d888ad142724ee8c2699922652e01 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 28 Jun 2015 17:26:56 +0100 Subject: coverity#1308546 Uncaught exception Change-Id: Ia5b1c50ecff3fde4b698012304cd75fa1a7b4ce6 --- scaddins/source/pricing/pricing.cxx | 2 +- scaddins/source/pricing/pricing.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'scaddins/source') 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: -- cgit