diff options
-rw-r--r-- | sal/textenc/tencinfo.cxx | 12 | ||||
-rw-r--r-- | svtools/source/misc/sampletext.cxx | 4 | ||||
-rw-r--r-- | svtools/source/table/defaultinputhandler.cxx | 2 |
3 files changed, 9 insertions, 9 deletions
diff --git a/sal/textenc/tencinfo.cxx b/sal/textenc/tencinfo.cxx index ded6bc53e868..ccbfe4037d10 100644 --- a/sal/textenc/tencinfo.cxx +++ b/sal/textenc/tencinfo.cxx @@ -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 } }; diff --git a/svtools/source/misc/sampletext.cxx b/svtools/source/misc/sampletext.cxx index bacde297d7b9..f3279c943395 100644 --- a/svtools/source/misc/sampletext.cxx +++ b/svtools/source/misc/sampletext.cxx @@ -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); diff --git a/svtools/source/table/defaultinputhandler.cxx b/svtools/source/table/defaultinputhandler.cxx index ed4740322fbc..ff098f243180 100644 --- a/svtools/source/table/defaultinputhandler.cxx +++ b/svtools/source/table/defaultinputhandler.cxx @@ -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 }, |