diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 17:52:10 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 18:03:15 +0100 |
commit | 8870dec9a431eeff5045efd4ba12a2a70bad5e24 (patch) | |
tree | 513815d05326b7f24f67f61dc2757becffca098d /scaddins/source/datefunc | |
parent | 7b79e23260db34f2bb0a2994a5e64dd39117228c (diff) |
New loplugin:dynexcspec: Add @throws documentation, scaddins
Change-Id: I8b78ab7ac34cace1a6aad8807f4964e4414c9ac3
Diffstat (limited to 'scaddins/source/datefunc')
-rw-r--r-- | scaddins/source/datefunc/datefunc.cxx | 3 | ||||
-rw-r--r-- | scaddins/source/datefunc/datefunc.hxx | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx index 4baa51962cec..1c8f481b4813 100644 --- a/scaddins/source/datefunc/datefunc.cxx +++ b/scaddins/source/datefunc/datefunc.cxx @@ -449,6 +449,8 @@ sal_Int32 DateToDays( sal_uInt16 nDay, sal_uInt16 nMonth, sal_uInt16 nYear ) * is the number of days between 01/01/0001 and the date * this function converts this internal Date value * to a Day , Month, Year representation of a Date. + * + * @throws lang::IllegalArgumentException */ void DaysToDate( sal_Int32 nDays, @@ -504,6 +506,7 @@ void DaysToDate( sal_Int32 nDays, * is the number of days between 01/01/0001 and the date * this function returns this internal Date value for the document null date * + * @throws uno::RuntimeException */ sal_Int32 GetNullDate( const uno::Reference< beans::XPropertySet >& xOptions ) throw( uno::RuntimeException ) diff --git a/scaddins/source/datefunc/datefunc.hxx b/scaddins/source/datefunc/datefunc.hxx index a2c89fa2486b..f86920a37648 100644 --- a/scaddins/source/datefunc/datefunc.hxx +++ b/scaddins/source/datefunc/datefunc.hxx @@ -190,9 +190,11 @@ private: void InitDefLocales(); const css::lang::Locale& GetLocale( sal_uInt32 nIndex ); + /// @throws css::uno::RuntimeException ResMgr& GetResMgr() throw( css::uno::RuntimeException, std::exception ); void InitData(); + /// @throws css::uno::RuntimeException OUString GetFuncDescrStr( sal_uInt16 nResId, sal_uInt16 nStrIndex ) throw( css::uno::RuntimeException, std::exception ); public: |