diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-29 12:15:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-29 12:58:05 +0100 |
commit | 69dcc8f4e5f99cbc2f5405429c4ffc874fecc1b4 (patch) | |
tree | c6fd20dbeb06d732be1a2388350508867218994d /scaddins | |
parent | 2a5da1f2d80cc6147c9dfd9658049a76f1d021a1 (diff) |
coverity#1308594 Uncaught exception
Change-Id: Ic320ba53565ef735d24a3538bf1863b3fb37c97a
Diffstat (limited to 'scaddins')
-rw-r--r-- | scaddins/source/pricing/pricing.cxx | 2 | ||||
-rw-r--r-- | scaddins/source/pricing/pricing.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scaddins/source/pricing/pricing.cxx b/scaddins/source/pricing/pricing.cxx index 2f6b668338ef..21174c7fb108 100644 --- a/scaddins/source/pricing/pricing.cxx +++ b/scaddins/source/pricing/pricing.cxx @@ -240,7 +240,7 @@ const lang::Locale& ScaPricingAddIn::GetLocale( sal_uInt32 nIndex ) return (nIndex < sizeof( pLang )) ? pDefLocales[ nIndex ] : aFuncLoc; } -ResMgr& ScaPricingAddIn::GetResMgr() throw( uno::RuntimeException ) +ResMgr& ScaPricingAddIn::GetResMgr() throw( uno::RuntimeException, std::exception ) { if( !pResMgr ) { diff --git a/scaddins/source/pricing/pricing.hxx b/scaddins/source/pricing/pricing.hxx index 92a9d20d2fe6..0acf09a1f940 100644 --- a/scaddins/source/pricing/pricing.hxx +++ b/scaddins/source/pricing/pricing.hxx @@ -319,7 +319,7 @@ private: void InitDefLocales(); const css::lang::Locale& GetLocale( sal_uInt32 nIndex ); - ResMgr& GetResMgr() throw( css::uno::RuntimeException ); + ResMgr& GetResMgr() throw( css::uno::RuntimeException, std::exception ); void InitData(); OUString GetDisplFuncStr( sal_uInt16 nResId ) throw( css::uno::RuntimeException, std::exception ); |