diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-16 15:40:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-17 08:37:39 +0100 |
commit | bd29365d224ff1d34d4130703ddf8a33e487b6af (patch) | |
tree | 74e36b1370074320f21b78f5fe266ffcba6a914c /i18npool/inc/calendar_hijri.hxx | |
parent | cc9e89816f8193989ea4ee5bfd9b1c39b196b5e7 (diff) |
Calendar_hijri::getJulianDay can just as well return sal_Int32
...instead of converting from sal_Int32 to double and back to sal_Int32
Change-Id: I005777ff031dbbd919d46c971a84dff17f0adf9b
Reviewed-on: https://gerrit.libreoffice.org/47997
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'i18npool/inc/calendar_hijri.hxx')
-rw-r--r-- | i18npool/inc/calendar_hijri.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/inc/calendar_hijri.hxx b/i18npool/inc/calendar_hijri.hxx index 31e2fc6d6bfc..240cc7b20095 100644 --- a/i18npool/inc/calendar_hijri.hxx +++ b/i18npool/inc/calendar_hijri.hxx @@ -67,7 +67,7 @@ private: static void getHijri(sal_Int32 *day, sal_Int32 *month, sal_Int32 *year); static void ToGregorian(sal_Int32 *day, sal_Int32 *month, sal_Int32 *year); static void getGregorianDay(sal_Int32 jd, sal_Int32 *pnDay, sal_Int32 *pnMonth, sal_Int32 *pnYear); - static double getJulianDay(sal_Int32 day, sal_Int32 month, sal_Int32 year); + static sal_Int32 getJulianDay(sal_Int32 day, sal_Int32 month, sal_Int32 year); }; } |