diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-10-21 10:10:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-10-21 11:27:39 +0100 |
commit | be5f319ce0668031b9fb1ee57a414d11edf6c6c9 (patch) | |
tree | a5d71e443667c2ffb8b1f7d6e7e1887449014245 /svtools | |
parent | e84482a38363004d5dc2fde24e57d4215b48797a (diff) |
use iso15924 script names
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/misc/sampletext.cxx | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/svtools/source/misc/sampletext.cxx b/svtools/source/misc/sampletext.cxx index b0f554c2ca9b..039c8fb56803 100644 --- a/svtools/source/misc/sampletext.cxx +++ b/svtools/source/misc/sampletext.cxx @@ -368,18 +368,18 @@ rtl::OUString makeShortRepresentativeTextForScript(UScriptCode eScript) } case USCRIPT_TRADITIONAL_HAN: { - const sal_Unicode aTraditionalChinese[] = { + const sal_Unicode aHant[] = { 0x7E41 }; - sSampleText = rtl::OUString(aTraditionalChinese, SAL_N_ELEMENTS(aTraditionalChinese)); + sSampleText = rtl::OUString(aHant, SAL_N_ELEMENTS(aHant)); break; } case USCRIPT_SIMPLIFIED_HAN: { - const sal_Unicode aSimplifiedChinese[] = { + const sal_Unicode aHans[] = { 0x7B80 }; - sSampleText = rtl::OUString(aSimplifiedChinese, SAL_N_ELEMENTS(aSimplifiedChinese)); + sSampleText = rtl::OUString(aHans, SAL_N_ELEMENTS(aHans)); break; } case USCRIPT_HAN: @@ -387,23 +387,24 @@ rtl::OUString makeShortRepresentativeTextForScript(UScriptCode eScript) const sal_Unicode aSimplifiedAndTraditionalChinese[] = { 0x7B80, 0x7E41 }; - sSampleText = rtl::OUString(aSimplifiedAndTraditionalChinese, SAL_N_ELEMENTS(aSimplifiedAndTraditionalChinese)); + sSampleText = rtl::OUString(aSimplifiedAndTraditionalChinese, + SAL_N_ELEMENTS(aSimplifiedAndTraditionalChinese)); break; } case USCRIPT_JAPANESE: { - const sal_Unicode aJapanese[] = { + const sal_Unicode aJpan[] = { 0x65E5, 0x672C, 0x8A9E }; - sSampleText = rtl::OUString(aJapanese, SAL_N_ELEMENTS(aJapanese)); + sSampleText = rtl::OUString(aJpan, SAL_N_ELEMENTS(aJpan)); break; } case USCRIPT_YI: { - const sal_Unicode aYi[] = { + const sal_Unicode aYiii[] = { 0xA188, 0xA320, 0xA071, 0xA0B7 }; - sSampleText = rtl::OUString(aYi, SAL_N_ELEMENTS(aYi)); + sSampleText = rtl::OUString(aYiii, SAL_N_ELEMENTS(aYiii)); break; } default: |