From e632eaecfcd71d8f280ce9142a2ab9966a27bae5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 29 Jun 2015 12:36:51 +0100 Subject: [PATCH] coverity#1308576 Uncaught exception Change-Id: Ic31670bd8999961dc9571c8d55817951a702d417 --- scaddins/source/analysis/analysis.cxx | 2 +- scaddins/source/analysis/analysis.hxx | 2 +- 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 );