summaryrefslogtreecommitdiff
path: root/sax/source
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-08-01 04:32:32 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-08-01 04:33:23 +0900
commit392c5b2a70440c03341f21c7583ca5139b4a253b (patch)
tree4d23407c3fef57af8615f592d075bf11bd6bf5bd /sax/source
parent83ff6c0f4101fe4f25c2b4a58c70b40de8cc2ff2 (diff)
Mark as const
Change-Id: Idd1d0641d5b7d8594f354c7d2e2a9093ecc6b2f7
Diffstat (limited to 'sax/source')
-rw-r--r--sax/source/tools/converter.cxx2
1 files changed, 1 insertions, 1 deletions
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))