diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-07-29 17:38:09 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-07-29 17:39:30 +0900 |
commit | 57931a7cf76a6f5b323e178d3cade25d98e12096 (patch) | |
tree | e2ef8f2fbd1de13b93388f8746238a4278706bc0 /i18nutil | |
parent | 40c5338fdd817878d9dd6240f7f3629b413120a5 (diff) |
Mark as const
Change-Id: Ib78b25641ae20a3eb23545649f08b963e34c74ff
Diffstat (limited to 'i18nutil')
-rw-r--r-- | i18nutil/source/utility/paper.cxx | 2 | ||||
-rw-r--r-- | i18nutil/source/utility/unicode.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/i18nutil/source/utility/paper.cxx b/i18nutil/source/utility/paper.cxx index 5199b0712eea..372990b5fe6b 100644 --- a/i18nutil/source/utility/paper.cxx +++ b/i18nutil/source/utility/paper.cxx @@ -235,7 +235,7 @@ PaperInfo PaperInfo::getSystemDefaultPaper() { OString aPaper(pBuffer); aPaper = aPaper.trim(); - static struct { const char *pName; Paper ePaper; } aCustoms [] = + static const struct { const char *pName; Paper ePaper; } aCustoms [] = { { "B0", PAPER_B0_ISO }, { "B1", PAPER_B1_ISO }, diff --git a/i18nutil/source/utility/unicode.cxx b/i18nutil/source/utility/unicode.cxx index b46a7f61b2c0..dcefa791f274 100644 --- a/i18nutil/source/utility/unicode.cxx +++ b/i18nutil/source/utility/unicode.cxx @@ -392,7 +392,7 @@ sal_Bool SAL_CALL unicode::isWhiteSpace( const sal_Unicode ch) { sal_Int16 SAL_CALL unicode::getScriptClassFromUScriptCode(UScriptCode eScript) { //See unicode/uscript.h - static sal_Int16 scriptTypes[] = + static const sal_Int16 scriptTypes[] = { ScriptType::WEAK, ScriptType::WEAK, ScriptType::COMPLEX, ScriptType::LATIN, ScriptType::COMPLEX, ScriptType::ASIAN, ScriptType::LATIN, ScriptType::LATIN, ScriptType::LATIN, ScriptType::COMPLEX, |