From 392c5b2a70440c03341f21c7583ca5139b4a253b Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Thu, 1 Aug 2013 04:32:32 +0900 Subject: Mark as const Change-Id: Idd1d0641d5b7d8594f354c7d2e2a9093ecc6b2f7 --- sax/source/tools/converter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sax/source') diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx index da3d3f1bd90b..6cfe6880856a 100644 --- a/sax/source/tools/converter.cxx +++ b/sax/source/tools/converter.cxx @@ -1331,7 +1331,7 @@ static bool lcl_isLeapYear(const sal_uInt32 nYear) static sal_uInt16 lcl_MaxDaysPerMonth(const sal_Int32 nMonth, const sal_Int32 nYear) { - static sal_uInt16 s_MaxDaysPerMonth[12] = + static const sal_uInt16 s_MaxDaysPerMonth[12] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; OSL_ASSERT(0 < nMonth && nMonth <= 12); if ((2 == nMonth) && lcl_isLeapYear(nYear)) -- cgit