From 6a9aa432f53b53310ce56588508d151e15112b16 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Wed, 10 Jul 2013 09:09:14 +0900 Subject: Mark as const Change-Id: I7fe1441dc09301604bc7a96fa5d63cfa8ca72874 --- scaddins/source/datefunc/datefunc.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scaddins') 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 ) -- cgit v1.2.3