From 9e92e3ae52ef8e65ac1e9d5ea46fe7028db90786 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 29 Jun 2015 09:46:37 +0100 Subject: coverity#1308584 Uncaught exception Change-Id: I55178c48f57c26f7eec7efa052abd9edbf7adeb0 --- scaddins/source/datefunc/datefunc.cxx | 2 +- scaddins/source/datefunc/datefunc.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'scaddins/source') diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx index 40cbd0d81f75..2ae37956100b 100644 --- a/scaddins/source/datefunc/datefunc.cxx +++ b/scaddins/source/datefunc/datefunc.cxx @@ -235,7 +235,7 @@ const lang::Locale& ScaDateAddIn::GetLocale( sal_uInt32 nIndex ) return (nIndex < sizeof( pLang )) ? pDefLocales[ nIndex ] : aFuncLoc; } -ResMgr& ScaDateAddIn::GetResMgr() throw( uno::RuntimeException ) +ResMgr& ScaDateAddIn::GetResMgr() throw( uno::RuntimeException, std::exception ) { if( !pResMgr ) { diff --git a/scaddins/source/datefunc/datefunc.hxx b/scaddins/source/datefunc/datefunc.hxx index 7ca2b98a5123..333ed402932f 100644 --- a/scaddins/source/datefunc/datefunc.hxx +++ b/scaddins/source/datefunc/datefunc.hxx @@ -304,7 +304,7 @@ private: void InitDefLocales(); const ::com::sun::star::lang::Locale& GetLocale( sal_uInt32 nIndex ); - ResMgr& GetResMgr() throw( ::com::sun::star::uno::RuntimeException ); + ResMgr& GetResMgr() throw( ::com::sun::star::uno::RuntimeException, std::exception ); void InitData(); OUString GetDisplFuncStr( sal_uInt16 nResId ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); -- cgit