summaryrefslogtreecommitdiff
path: root/scaddins
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-07-10 09:09:14 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-07-10 09:11:06 +0900
commit6a9aa432f53b53310ce56588508d151e15112b16 (patch)
tree61d5366d3be23004324463905a27d479255221f3 /scaddins
parent6e6634b87dc4873e42efb9e2577ffc59776866ec (diff)
Mark as const
Change-Id: I7fe1441dc09301604bc7a96fa5d63cfa8ca72874
Diffstat (limited to 'scaddins')
-rw-r--r--scaddins/source/datefunc/datefunc.cxx2
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 )