diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-11-24 20:26:22 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-11-24 21:46:23 +0100 |
commit | d2c9e289733df395b911a46c1028014f42e75f99 (patch) | |
tree | 49911788e81a04eb88de9159dbd2b6446f4655ba /i18npool | |
parent | 17c3d827e12d9ca99b869132f23ba212b11f909a (diff) |
cppcheck: performing init in init list (hwpfilter, i., l.)
Change-Id: Idf5b7be45d48076fbe191fbf1a2fa63c6da71902
Reviewed-on: https://gerrit.libreoffice.org/83617
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/calendar/calendar_jewish.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/calendar/calendar_jewish.cxx b/i18npool/source/calendar/calendar_jewish.cxx index 549bae3c12aa..ee35c5d90cf9 100644 --- a/i18npool/source/calendar/calendar_jewish.cxx +++ b/i18npool/source/calendar/calendar_jewish.cxx @@ -137,7 +137,7 @@ private: sal_Int32 day; // 1..LastDayOfHebrewMonth(month, year) public: - HebrewDate(sal_Int32 m, sal_Int32 d, sal_Int32 y) { month = m; day = d; year = y; } + HebrewDate(sal_Int32 m, sal_Int32 d, sal_Int32 y) : year(y), month(m), day(d) { } explicit HebrewDate(sal_Int32 d) { // Computes the Hebrew date from the absolute date. year = (d + HebrewEpoch) / 366; // Approximation from below. |