diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-28 10:52:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-28 13:14:01 +0000 |
commit | 51765361b3b9838f7814e9cd3305f83819cb6eb0 (patch) | |
tree | 4e47e5148cb247bcca9ced2190ec194d57c8f265 /i18npool/source | |
parent | c39a664f7ae5ffcb5af820afb06d6eb37e688b80 (diff) |
coverity#705185 Missing break in switch
Change-Id: I88c2fbea9265b729e21aa2f2d09bea89f91c01cb
Diffstat (limited to 'i18npool/source')
-rw-r--r-- | i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx index 8a110c040a51..693f6188939a 100644 --- a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx +++ b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx @@ -667,12 +667,15 @@ DefaultNumberingProvider::makeNumberingString( const Sequence<beans::PropertyVal natNum = NativeNumberMode::NATNUM7; locale.Language = "zh"; break; - case NUMBER_UPPER_ZH_TW: - locale.Country = "TW"; case NUMBER_UPPER_ZH: natNum = NativeNumberMode::NATNUM8; locale.Language = "zh"; break; + case NUMBER_UPPER_ZH_TW: + natNum = NativeNumberMode::NATNUM8; + locale.Language = "zh"; + locale.Country = "TW"; + break; case NUMBER_TRADITIONAL_JA: natNum = NativeNumberMode::NATNUM8; locale.Language = "ja"; |