summaryrefslogtreecommitdiff
path: root/scaddins
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-29 12:36:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-29 12:58:07 +0100
commite632eaecfcd71d8f280ce9142a2ab9966a27bae5 (patch)
tree023f26a63ab754e8716e17760454eab98e309bfc /scaddins
parent53bd35aafdcfec740b495db7ed5d48fb8077132c (diff)
coverity#1308576 Uncaught exception
Change-Id: Ic31670bd8999961dc9571c8d55817951a702d417
Diffstat (limited to 'scaddins')
-rw-r--r--scaddins/source/analysis/analysis.cxx2
-rw-r--r--scaddins/source/analysis/analysis.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/scaddins/source/analysis/analysis.cxx b/scaddins/source/analysis/analysis.cxx
index 85ab00cf1396..d6d30474e244 100644
--- a/scaddins/source/analysis/analysis.cxx
+++ b/scaddins/source/analysis/analysis.cxx
@@ -77,7 +77,7 @@ ResMgr& AnalysisAddIn::GetResMgr() throw( uno::RuntimeException, std::exception
return *pResMgr;
}
-OUString AnalysisAddIn::GetDisplFuncStr( sal_uInt16 nFuncNum ) throw( uno::RuntimeException )
+OUString AnalysisAddIn::GetDisplFuncStr( sal_uInt16 nFuncNum ) throw( uno::RuntimeException, std::exception )
{
return AnalysisRscStrLoader( RID_ANALYSIS_FUNCTION_NAMES, nFuncNum, GetResMgr() ).GetString();
}
diff --git a/scaddins/source/analysis/analysis.hxx b/scaddins/source/analysis/analysis.hxx
index 560ec5d1becf..79cd750ba183 100644
--- a/scaddins/source/analysis/analysis.hxx
+++ b/scaddins/source/analysis/analysis.hxx
@@ -63,7 +63,7 @@ private:
sca::analysis::ScaAnyConverter aAnyConv;
ResMgr& GetResMgr() throw( css::uno::RuntimeException, std::exception );
- OUString GetDisplFuncStr( sal_uInt16 nFuncNum ) throw( css::uno::RuntimeException );
+ OUString GetDisplFuncStr( sal_uInt16 nFuncNum ) throw( css::uno::RuntimeException, std::exception );
OUString GetFuncDescrStr( sal_uInt16 nResId, sal_uInt16 nStrIndex ) throw( css::uno::RuntimeException, std::exception );
void InitDefLocales();
inline const css::lang::Locale& GetLocale( sal_uInt32 nInd );