diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-10-19 14:29:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-10-19 16:44:12 +0200 |
commit | f209524965641596cea16a0ee7780fffe176235a (patch) | |
tree | ee0c9f40aaeeb3962ee837db5aaf16ab975dfde6 /i18npool/source | |
parent | 6e910b3de459db604b303be49b510a34ed8bb870 (diff) |
clarify Calendar_jewish::getDisplayString a little
Change-Id: I7abecaebd296d404e6a095b2befe5da07d346e75
Reviewed-on: https://gerrit.libreoffice.org/62017
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'i18npool/source')
-rw-r--r-- | i18npool/source/calendar/calendar_jewish.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 |