Kaydet (Commit) 6c912701 authored tarafından Takeshi Abe's avatar Takeshi Abe

Mark as const

Change-Id: Ic71f39aaebf07d3b0435882986be71cf2b0390c2
üst 3090cfc9
......@@ -294,32 +294,32 @@ rtl_TextEncoding SAL_CALL rtl_getTextEncodingFromUnixCharset( const char* pUnixC
{ NULL, RTL_TEXTENCODING_DONTKNOW }
};
static ImplStrCharsetDef aUnixCharsetJISX0208Tab[] =
static ImplStrCharsetDef const aUnixCharsetJISX0208Tab[] =
{
{ NULL, RTL_TEXTENCODING_JIS_X_0208 }
};
static ImplStrCharsetDef aUnixCharsetJISX0201Tab[] =
static ImplStrCharsetDef const aUnixCharsetJISX0201Tab[] =
{
{ NULL, RTL_TEXTENCODING_JIS_X_0201 }
};
static ImplStrCharsetDef aUnixCharsetJISX0212Tab[] =
static ImplStrCharsetDef const aUnixCharsetJISX0212Tab[] =
{
{ NULL, RTL_TEXTENCODING_JIS_X_0212 }
};
static ImplStrCharsetDef aUnixCharsetGBTab[] =
static ImplStrCharsetDef const aUnixCharsetGBTab[] =
{
{ NULL, RTL_TEXTENCODING_GB_2312 }
};
static ImplStrCharsetDef aUnixCharsetGBKTab[] =
static ImplStrCharsetDef const aUnixCharsetGBKTab[] =
{
{ NULL, RTL_TEXTENCODING_GBK }
};
static ImplStrCharsetDef aUnixCharsetBIG5Tab[] =
static ImplStrCharsetDef const aUnixCharsetBIG5Tab[] =
{
{ NULL, RTL_TEXTENCODING_BIG5 }
};
......
......@@ -92,9 +92,9 @@ OUString makeShortRepresentativeSymbolTextForSelectedFont(OutputDevice &rDevice)
}
}
static sal_Unicode aImplSymbolFontText[] = {
static const sal_Unicode aImplSymbolFontText[] = {
0xF021,0xF032,0xF043,0xF054,0xF065,0xF076,0xF0B7,0xF0C8,0};
static sal_Unicode aImplStarSymbolText[] = {
static const sal_Unicode aImplStarSymbolText[] = {
0x2706,0x2704,0x270D,0xE033,0x2211,0x2288,0};
const sal_Unicode* pText = bOpenSymbol ? aImplStarSymbolText : aImplSymbolFontText;
OUString sSampleText(pText);
......
......@@ -147,7 +147,7 @@ namespace svt { namespace table
sal_uInt16 nKeyModifier;
TableControlAction eAction;
}
static aKnownActions[] = {
static const aKnownActions[] = {
{ KEY_DOWN, 0, cursorDown },
{ KEY_UP, 0, cursorUp },
{ KEY_LEFT, 0, cursorLeft },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment