diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-08-04 00:25:32 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-08-04 00:54:12 +0900 |
commit | e2e15148fc133c0b6fb3d9dc3cade2ef2ef64f41 (patch) | |
tree | c9a3b8971b78b7c5dcf065687ce8319d63955414 /cui | |
parent | be2761ce013c349d6f6e825b89c76e1c60a63343 (diff) |
Mark as const/static
Change-Id: I54a7daee7345e7c0c5c3f866d5c365722b567eff
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/customize/acccfg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx index ddb681f24677..2ec03287ba9d 100644 --- a/cui/source/customize/acccfg.cxx +++ b/cui/source/customize/acccfg.cxx @@ -88,7 +88,7 @@ static OUString MEDIATYPE_PROPNAME ("MediaType" static OUString MEDIATYPE_UICONFIG ("application/vnd.sun.xml.ui.configuration"); //----------------------------------------------- -static sal_uInt16 KEYCODE_ARRAY[] = +static const sal_uInt16 KEYCODE_ARRAY[] = { KEY_F1 , KEY_F2 , @@ -600,7 +600,7 @@ static sal_uInt16 KEYCODE_ARRAY[] = KEY_DELETE | KEY_SHIFT | KEY_MOD1 | KEY_MOD2 }; -static sal_uInt16 KEYCODE_ARRAY_SIZE = SAL_N_ELEMENTS(KEYCODE_ARRAY); +static const sal_uInt16 KEYCODE_ARRAY_SIZE = SAL_N_ELEMENTS(KEYCODE_ARRAY); //----------------------------------------------- // seems to be needed to layout the list box, which shows all |