summaryrefslogtreecommitdiffstats
path: root/i18npool
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-08-02 14:44:22 +0300
committerTor Lillqvist <tml@iki.fi>2012-08-02 19:16:51 +0300
commit056f15c2ccd5b1c6a79004fdfe113e524175e27f (patch)
tree675d80773069e755ae9c68244a9c7bc25e0b1b26 /i18npool
parentFilter out vbaobj in the disabled scripting case (diff)
downloadcore-056f15c2ccd5b1c6a79004fdfe113e524175e27f.tar.gz
core-056f15c2ccd5b1c6a79004fdfe113e524175e27f.zip
WaE: dangling else
Change-Id: I263d35464ceaa7374e8ca94f7e72e56ee33aab53
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/indexentry/indexentrysupplier_asian.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/i18npool/source/indexentry/indexentrysupplier_asian.cxx b/i18npool/source/indexentry/indexentrysupplier_asian.cxx
index ae05ec6feedc..90a92d19a651 100644
--- a/i18npool/source/indexentry/indexentrysupplier_asian.cxx
+++ b/i18npool/source/indexentry/indexentrysupplier_asian.cxx
@@ -103,7 +103,7 @@ IndexEntrySupplier_asian::getIndexCharacter( const OUString& rIndexEntry,
if ( rLocale.Language == "ko" ) {
if ( rAlgorithm == "dict" )
func = get_indexdata_ko_dict;
- } else if ( rLocale.Language == "zh" )
+ } else if ( rLocale.Language == "zh" ) {
if ( rAlgorithm == "pinyin" )
func = get_indexdata_zh_pinyin;
else if ( rAlgorithm == "radical" )
@@ -112,6 +112,7 @@ IndexEntrySupplier_asian::getIndexCharacter( const OUString& rIndexEntry,
func = get_indexdata_zh_stroke;
else if ( rAlgorithm == "zhuyin" )
func = get_indexdata_zh_zhuyin;
+ }
}
#endif
if (func) {