diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-07-01 21:00:55 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-07-01 21:03:12 +0900 |
commit | 6c912701dc9fd82dc1fec0481119f3c9d753e161 (patch) | |
tree | fc751eedac60eb6cc7738e5f28c56af9166977d2 /svtools | |
parent | 3090cfc972287da3fbdc567387527b65b3bfd128 (diff) |
Mark as const
Change-Id: Ic71f39aaebf07d3b0435882986be71cf2b0390c2
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/misc/sampletext.cxx | 4 | ||||
-rw-r--r-- | svtools/source/table/defaultinputhandler.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
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 }, |