diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-08-09 09:14:53 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-08-09 09:22:49 +0900 |
commit | f30cde45db99d5c57e8be6956bbf824ab92328c2 (patch) | |
tree | 1cf0db30957e97074542549e4e44900b1ef7aaed /i18npool/source/calendar | |
parent | 06e6123012cf58954e94b67568dc7dea4b6ed769 (diff) |
Mark as const/static
Change-Id: I5d51d7e01913ac9917578f8c9789312af9be3638
Diffstat (limited to 'i18npool/source/calendar')
-rw-r--r-- | i18npool/source/calendar/calendar_gregorian.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/i18npool/source/calendar/calendar_gregorian.cxx b/i18npool/source/calendar/calendar_gregorian.cxx index fa26966c0f24..b3322fa6e338 100644 --- a/i18npool/source/calendar/calendar_gregorian.cxx +++ b/i18npool/source/calendar/calendar_gregorian.cxx @@ -130,12 +130,12 @@ Calendar_gregorian::Calendar_gregorian() { init(NULL); } -Calendar_gregorian::Calendar_gregorian(Era *_earArray) +Calendar_gregorian::Calendar_gregorian(const Era *_earArray) { init(_earArray); } void SAL_CALL -Calendar_gregorian::init(Era *_eraArray) +Calendar_gregorian::init(const Era *_eraArray) { cCalendar = "com.sun.star.i18n.Calendar_gregorian"; @@ -199,7 +199,7 @@ Calendar_hanja::loadCalendar( const OUString& /*uniqueID*/, const com::sun::star Calendar_gregorian::loadCalendar(OUString("hanja"), rLocale); } -static Era gengou_eraArray[] = { +static const Era gengou_eraArray[] = { {1868, 1, 1, 0}, {1912, 7, 30, 0}, {1926, 12, 25, 0}, @@ -211,7 +211,7 @@ Calendar_gengou::Calendar_gengou() : Calendar_gregorian(gengou_eraArray) cCalendar = "com.sun.star.i18n.Calendar_gengou"; } -static Era ROC_eraArray[] = { +static const Era ROC_eraArray[] = { {1912, 1, 1, kDisplayEraForcedLongYear}, // #i116701# {0, 0, 0, 0} }; @@ -220,7 +220,7 @@ Calendar_ROC::Calendar_ROC() : Calendar_gregorian(ROC_eraArray) cCalendar = "com.sun.star.i18n.Calendar_ROC"; } -static Era buddhist_eraArray[] = { +static const Era buddhist_eraArray[] = { {-542, 1, 1, 0}, {0, 0, 0, 0} }; |