diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-07-10 09:09:14 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-07-10 09:11:06 +0900 |
commit | 6a9aa432f53b53310ce56588508d151e15112b16 (patch) | |
tree | 61d5366d3be23004324463905a27d479255221f3 /scaddins | |
parent | 6e6634b87dc4873e42efb9e2577ffc59776866ec (diff) |
Mark as const
Change-Id: I7fe1441dc09301604bc7a96fa5d63cfa8ca72874
Diffstat (limited to 'scaddins')
-rw-r--r-- | scaddins/source/datefunc/datefunc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx index 8f016d6f23dc..07dcd841b67e 100644 --- a/scaddins/source/datefunc/datefunc.cxx +++ b/scaddins/source/datefunc/datefunc.cxx @@ -532,7 +532,7 @@ sal_Bool IsLeapYear( sal_uInt16 nYear ) sal_uInt16 DaysInMonth( sal_uInt16 nMonth, sal_uInt16 nYear ) { - static sal_uInt16 aDaysInMonth[12] = { 31, 28, 31, 30, 31, 30, + static const sal_uInt16 aDaysInMonth[12] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; if ( nMonth != 2 ) |