coverity#1308576 Uncaught exception

Change-Id: Ic31670bd8999961dc9571c8d55817951a702d417
This commit is contained in:
Caolán McNamara
2015-06-29 12:36:51 +01:00
parent 53bd35aafd
commit e632eaecfc
2 changed files with 2 additions and 2 deletions

View File

@@ -77,7 +77,7 @@ ResMgr& AnalysisAddIn::GetResMgr() throw( uno::RuntimeException, std::exception
return *pResMgr; 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(); return AnalysisRscStrLoader( RID_ANALYSIS_FUNCTION_NAMES, nFuncNum, GetResMgr() ).GetString();
} }

View File

@@ -63,7 +63,7 @@ private:
sca::analysis::ScaAnyConverter aAnyConv; sca::analysis::ScaAnyConverter aAnyConv;
ResMgr& GetResMgr() throw( css::uno::RuntimeException, std::exception ); 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 ); OUString GetFuncDescrStr( sal_uInt16 nResId, sal_uInt16 nStrIndex ) throw( css::uno::RuntimeException, std::exception );
void InitDefLocales(); void InitDefLocales();
inline const css::lang::Locale& GetLocale( sal_uInt32 nInd ); inline const css::lang::Locale& GetLocale( sal_uInt32 nInd );