diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-05-30 15:00:23 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-05-30 16:41:40 -0500 |
commit | 1488171272e5e9d11f751482e3e372e5db58418b (patch) | |
tree | 1481a108540cf562bdaec78584bb8e0af9201d7d /i18npool/source/calendar/calendar_gregorian.cxx | |
parent | 8016dced31517e1695af932efedcf9f83a28d741 (diff) |
targeted string re-work
Change-Id: I1efff8e09079267f4129c474872d3fc49adeb831
Diffstat (limited to 'i18npool/source/calendar/calendar_gregorian.cxx')
-rw-r--r-- | i18npool/source/calendar/calendar_gregorian.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/calendar/calendar_gregorian.cxx b/i18npool/source/calendar/calendar_gregorian.cxx index f726aeb0fc38..e32d39121b0f 100644 --- a/i18npool/source/calendar/calendar_gregorian.cxx +++ b/i18npool/source/calendar/calendar_gregorian.cxx @@ -191,7 +191,7 @@ Calendar_hanja::getDisplayName( sal_Int16 displayIndex, sal_Int16 idx, sal_Int16 if ( displayIndex == CalendarDisplayIndex::AM_PM ) { // Am/Pm string for Korean Hanja calendar will refer to Japanese locale com::sun::star::lang::Locale jaLocale = - com::sun::star::lang::Locale(OUString(RTL_CONSTASCII_USTRINGPARAM("ja")), OUString(), OUString()); + com::sun::star::lang::Locale(OUString("ja"), OUString(), OUString()); if (idx == 0) return LocaleData().getLocaleItem(jaLocale).timeAM; else if (idx == 1) return LocaleData().getLocaleItem(jaLocale).timePM; else throw ERROR; @@ -205,7 +205,7 @@ Calendar_hanja::loadCalendar( const OUString& /*uniqueID*/, const com::sun::star { // Since this class could be called by service name 'hanja_yoil', we have to // rename uniqueID to get right calendar defined in locale data. - Calendar_gregorian::loadCalendar(OUString(RTL_CONSTASCII_USTRINGPARAM("hanja")), rLocale); + Calendar_gregorian::loadCalendar(OUString("hanja"), rLocale); } static Era gengou_eraArray[] = { |