diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-28 17:16:56 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-28 17:55:59 +0100 |
commit | 9935affa7b537db00dad84f55b6dd07c52a66e53 (patch) | |
tree | 5b6dc0ed00f09a8726be78f726214d55d0b4bcc7 /scaddins | |
parent | e2c163793f16bfaf39a87e9692c57da0665f6475 (diff) |
coverity#1308538 Uncaught exception
Change-Id: Ib1e110617911ae3e9c13f013f8e807576abb00e6
Diffstat (limited to 'scaddins')
-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 8259e5f268be..40cbd0d81f75 100644 --- a/scaddins/source/datefunc/datefunc.cxx +++ b/scaddins/source/datefunc/datefunc.cxx @@ -261,7 +261,7 @@ void ScaDateAddIn::InitData() } } -OUString ScaDateAddIn::GetDisplFuncStr( sal_uInt16 nResId ) throw( uno::RuntimeException ) +OUString ScaDateAddIn::GetDisplFuncStr( sal_uInt16 nResId ) throw( uno::RuntimeException, std::exception ) { return ScaResStringLoader( RID_DATE_FUNCTION_NAMES, nResId, GetResMgr() ).GetString(); } diff --git a/scaddins/source/datefunc/datefunc.hxx b/scaddins/source/datefunc/datefunc.hxx index 66d0d5506b35..7ca2b98a5123 100644 --- a/scaddins/source/datefunc/datefunc.hxx +++ b/scaddins/source/datefunc/datefunc.hxx @@ -307,7 +307,7 @@ private: ResMgr& GetResMgr() throw( ::com::sun::star::uno::RuntimeException ); void InitData(); - OUString GetDisplFuncStr( sal_uInt16 nResId ) throw( ::com::sun::star::uno::RuntimeException ); + OUString GetDisplFuncStr( sal_uInt16 nResId ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); OUString GetFuncDescrStr( sal_uInt16 nResId, sal_uInt16 nStrIndex ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); public: |