summaryrefslogtreecommitdiffstats
path: root/i18npool/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-16 15:40:52 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-17 08:37:39 +0100
commitbd29365d224ff1d34d4130703ddf8a33e487b6af (patch)
tree74e36b1370074320f21b78f5fe266ffcba6a914c /i18npool/inc
parentMisplaced static_cast (diff)
downloadcore-bd29365d224ff1d34d4130703ddf8a33e487b6af.tar.gz
core-bd29365d224ff1d34d4130703ddf8a33e487b6af.zip
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')
-rw-r--r--i18npool/inc/calendar_hijri.hxx2
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);
};
}