From 5ef73c74bca5543cb6a833780a1283abca5ad7a7 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 28 Jun 2015 17:05:26 +0100 Subject: coverity#1308529 Uncaught exception Change-Id: I8a91a9016e198e7f27d5c0e92789ae458f98f713 --- 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 c3b1efa16bbd..cfa9f30ea0a8 100644 --- a/scaddins/source/analysis/analysis.cxx +++ b/scaddins/source/analysis/analysis.cxx @@ -64,7 +64,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL analysis_component_getFactory( return pRet; } -ResMgr& AnalysisAddIn::GetResMgr() throw( uno::RuntimeException ) +ResMgr& AnalysisAddIn::GetResMgr() throw( uno::RuntimeException, std::exception ) { if( !pResMgr ) { diff --git a/scaddins/source/analysis/analysis.hxx b/scaddins/source/analysis/analysis.hxx index 8c682ecc3cf3..a387918b4245 100644 --- a/scaddins/source/analysis/analysis.hxx +++ b/scaddins/source/analysis/analysis.hxx @@ -62,7 +62,7 @@ private: sca::analysis::ScaAnyConverter aAnyConv; - ResMgr& GetResMgr() throw( css::uno::RuntimeException ); + ResMgr& GetResMgr() throw( css::uno::RuntimeException, std::exception ); OUString GetDisplFuncStr( sal_uInt16 nFuncNum ) throw( css::uno::RuntimeException ); OUString GetFuncDescrStr( sal_uInt16 nResId, sal_uInt16 nStrIndex ) throw( css::uno::RuntimeException ); void InitDefLocales(); -- cgit v1.2.3