[Libreoffice-commits] core.git: i18npool/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Oct 19 14:46:10 UTC 2018
i18npool/source/calendar/calendar_jewish.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit f209524965641596cea16a0ee7780fffe176235a
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Oct 19 14:29:11 2018 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Oct 19 16:44:12 2018 +0200
clarify Calendar_jewish::getDisplayString a little
Change-Id: I7abecaebd296d404e6a095b2befe5da07d346e75
Reviewed-on: https://gerrit.libreoffice.org/62017
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/i18npool/source/calendar/calendar_jewish.cxx b/i18npool/source/calendar/calendar_jewish.cxx
index 837f6f14f35a..9ac585447265 100644
--- a/i18npool/source/calendar/calendar_jewish.cxx
+++ b/i18npool/source/calendar/calendar_jewish.cxx
@@ -281,9 +281,9 @@ void Calendar_jewish::mapToGregorian()
// Methods in XExtendedCalendar
OUString SAL_CALL
-Calendar_jewish::getDisplayString( sal_Int32 nCalendarDisplayCode, sal_Int16 nNativeNumberMode )
+Calendar_jewish::getDisplayString( sal_Int32 nCalendarDisplayCode, sal_Int16 /*nNativeNumberMode*/ )
{
- nNativeNumberMode = NativeNumberMode::NATNUM2; // make Hebrew number for Jewish calendar
+ const sal_Int16 nNativeNumberMode = NativeNumberMode::NATNUM2; // make Hebrew number for Jewish calendar
if (nCalendarDisplayCode == CalendarDisplayCode::SHORT_YEAR) {
sal_Int32 value = getValue(CalendarFieldIndex::YEAR) % 1000; // take last 3 digits
More information about the Libreoffice-commits
mailing list