diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-29 09:46:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-29 12:58:03 +0100 |
commit | 9e92e3ae52ef8e65ac1e9d5ea46fe7028db90786 (patch) | |
tree | ae6b3ef757cccc1ec52302e87ee9220f7fbbc383 /scaddins/source | |
parent | 621a7689375a4c23bb1dd23c2643c9ac42aa29a9 (diff) |
coverity#1308584 Uncaught exception
Change-Id: I55178c48f57c26f7eec7efa052abd9edbf7adeb0
Diffstat (limited to 'scaddins/source')
-rw-r--r-- | scaddins/source/datefunc/datefunc.cxx | 2 | ||||
-rw-r--r-- | scaddins/source/datefunc/datefunc.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
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 ); |