diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-10 12:29:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-11 07:01:05 +0100 |
commit | 71a61ab2d8b650ebe0655cebd7233959a5a3811e (patch) | |
tree | 80cc6403e59e77853b0f40b4f49bc9ba9950f432 /unotools/source/config/lingucfg.cxx | |
parent | 30e99b793fc26d2c86363bf8c023cdd2c05940b1 (diff) |
loplugin:indentation in unotools..vbahelper
Change-Id: I76de5678dd21f207e9e9c2a0c446f2c0b9be974e
Reviewed-on: https://gerrit.libreoffice.org/67609
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools/source/config/lingucfg.cxx')
-rw-r--r-- | unotools/source/config/lingucfg.cxx | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/unotools/source/config/lingucfg.cxx b/unotools/source/config/lingucfg.cxx index e32e2f05a47d..0ebbf953a712 100644 --- a/unotools/source/config/lingucfg.cxx +++ b/unotools/source/config/lingucfg.cxx @@ -634,19 +634,20 @@ void SvtLinguConfigItem::LoadOptions( const uno::Sequence< OUString > &rProperyN { rOpt.bROIsAutoReplaceUniqueEntries = pROStates[i]; rVal >>= rOpt.bIsAutoReplaceUniqueEntries; } break; case UPH_IS_DIRECTION_TO_SIMPLIFIED : - { rOpt.bROIsDirectionToSimplified = pROStates[i]; - if( ! (rVal >>= rOpt.bIsDirectionToSimplified) ) + { + rOpt.bROIsDirectionToSimplified = pROStates[i]; + if( ! (rVal >>= rOpt.bIsDirectionToSimplified) ) + { + //default is locale dependent: + if (MsLangId::isTraditionalChinese(rOpt.nDefaultLanguage_CJK)) { - //default is locale dependent: - if (MsLangId::isTraditionalChinese(rOpt.nDefaultLanguage_CJK)) - { - rOpt.bIsDirectionToSimplified = false; - } - else - { - rOpt.bIsDirectionToSimplified = true; - } + rOpt.bIsDirectionToSimplified = false; } + else + { + rOpt.bIsDirectionToSimplified = true; + } + } } break; case UPH_IS_USE_CHARACTER_VARIANTS : { rOpt.bROIsUseCharacterVariants = pROStates[i]; rVal >>= rOpt.bIsUseCharacterVariants; } break; |