summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui/csvgrid.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-07-09 09:27:34 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-07-09 09:33:40 +0900
commitb1c4046379b888bf3a82fbd31287ee3a68439968 (patch)
tree32fa198684d8482a3843db906bed67bc061b5e37 /sc/source/ui/dbgui/csvgrid.cxx
parent4374e5c80525cd1a9d9ab04714ccbf2543a912ce (diff)
Mark as const
Change-Id: I2abf0a6887f916111895d172b0dffd54901c5aa2
Diffstat (limited to 'sc/source/ui/dbgui/csvgrid.cxx')
-rw-r--r--sc/source/ui/dbgui/csvgrid.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/dbgui/csvgrid.cxx b/sc/source/ui/dbgui/csvgrid.cxx
index e1595b12c821..3418d53f9a70 100644
--- a/sc/source/ui/dbgui/csvgrid.cxx
+++ b/sc/source/ui/dbgui/csvgrid.cxx
@@ -509,9 +509,9 @@ const String& ScCsvGrid::GetColumnTypeName( sal_uInt32 nColIndex ) const
static sal_uInt8 lcl_GetExtColumnType( sal_Int32 nIntType )
{
- static sal_uInt8 pExtTypes[] =
+ static const sal_uInt8 pExtTypes[] =
{ SC_COL_STANDARD, SC_COL_TEXT, SC_COL_DMY, SC_COL_MDY, SC_COL_YMD, SC_COL_ENGLISH, SC_COL_SKIP };
- static sal_Int32 nExtTypeCount = SAL_N_ELEMENTS(pExtTypes);
+ static const sal_Int32 nExtTypeCount = SAL_N_ELEMENTS(pExtTypes);
return pExtTypes[ ((0 <= nIntType) && (nIntType < nExtTypeCount)) ? nIntType : 0 ];
}