diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-06-19 22:38:50 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-06-19 22:41:26 +0900 |
commit | 913d6fb1cc0f9fa879b330d1322f8a19dfc050aa (patch) | |
tree | f57e4c341628cb79de384ae9c67bef307abbe453 /vcl/source/window/mnemonic.cxx | |
parent | c974471918bd5aa5719ec703564bdb22c5a33a6e (diff) |
Mark as const
Change-Id: Ib7f8aeeca64868fa2037145613023a6abfef7648
Diffstat (limited to 'vcl/source/window/mnemonic.cxx')
-rw-r--r-- | vcl/source/window/mnemonic.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/mnemonic.cxx b/vcl/source/window/mnemonic.cxx index 45ceac4f7ffb..78afb466a61a 100644 --- a/vcl/source/window/mnemonic.cxx +++ b/vcl/source/window/mnemonic.cxx @@ -279,14 +279,14 @@ sal_Bool MnemonicGenerator::CreateMnemonic( XubString& rKey ) nIndex = rKey.Len(); if( nIndex >= 2 ) { - static sal_Unicode cGreaterGreater[] = { 0xFF1E, 0xFF1E }; + static const sal_Unicode cGreaterGreater[] = { 0xFF1E, 0xFF1E }; if ( rKey.EqualsAscii( ">>", nIndex-2, 2 ) || rKey.Equals( cGreaterGreater, nIndex-2, 2 ) ) nIndex -= 2; } if( nIndex >= 3 ) { - static sal_Unicode cDotDotDot[] = { 0xFF0E, 0xFF0E, 0xFF0E }; + static const sal_Unicode cDotDotDot[] = { 0xFF0E, 0xFF0E, 0xFF0E }; if ( rKey.EqualsAscii( "...", nIndex-3, 3 ) || rKey.Equals( cDotDotDot, nIndex-3, 3 ) ) nIndex -= 3; |