diff options
author | Eike Rathke <erack@redhat.com> | 2013-08-23 20:37:46 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-08-23 23:09:09 +0200 |
commit | 5b2a740b9cacd1e0e4d2164647e89fb6b1e6c39e (patch) | |
tree | bd775de8168627e827d779e89274a3317359647d /i18nlangtag | |
parent | fc0f7eaa73b671aea03b9182db3391382d6e8eb8 (diff) |
use sensible indenting
Change-Id: Iea3c9e579e8236a9b7e1a57b4e7ec1c760f278e9
Diffstat (limited to 'i18nlangtag')
-rw-r--r-- | i18nlangtag/source/isolang/isolang.cxx | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx index 5fa7d5c4b2f5..26ad88fbbe6e 100644 --- a/i18nlangtag/source/isolang/isolang.cxx +++ b/i18nlangtag/source/isolang/isolang.cxx @@ -946,8 +946,7 @@ LanguageType MsLangId::convertUnxByteStringToLanguage( if (nAtPos >= 0) aAtString = rString.copy( nAtPos+1 ); - if ( ((nLangSepPos >= 0) && (nLangSepPos > nCountrySepPos)) - || ((nLangSepPos < 0)) ) + if (((nLangSepPos >= 0) && (nLangSepPos > nCountrySepPos)) || (nLangSepPos < 0)) { // eg. "el.sun_eu_greek", "tchinese", "es.ISO8859-15" aLang = rString.copy( 0, nCountrySepPos ); @@ -969,14 +968,14 @@ LanguageType MsLangId::convertUnxByteStringToLanguage( const IsoLangGLIBCModifiersEntry* pGLIBCModifiersEntry = aImplIsoLangGLIBCModifiersEntries; do { // avoid embedded \0 warning - if (( aLowerLang.equals( static_cast< const char* >( pGLIBCModifiersEntry->maLangStr ))) && - ( aAtString.equals( static_cast< const char* >( pGLIBCModifiersEntry->maAtString )))) + if (aLowerLang.equals( static_cast< const char* >( pGLIBCModifiersEntry->maLangStr )) && + aAtString.equals( static_cast< const char* >( pGLIBCModifiersEntry->maAtString ))) { - if ( aUpperCountry.isEmpty() || - aUpperCountry.equals( static_cast< const char* >( pGLIBCModifiersEntry->maCountry ))) - { + if (aUpperCountry.isEmpty() || + aUpperCountry.equals( static_cast< const char* >( pGLIBCModifiersEntry->maCountry ))) + { return pGLIBCModifiersEntry->mnLang; - } + } } ++pGLIBCModifiersEntry; } |