From de8c193833a7c60826015ecaed13d9fb3d1e0aba Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 8 Feb 2019 13:17:50 +0200 Subject: loplugin:indentation in helpcompiler..io Change-Id: Ia3f05662cc9542feeac3096d29e9dec6d1858620 Reviewed-on: https://gerrit.libreoffice.org/67558 Tested-by: Jenkins Reviewed-by: Noel Grandin --- .../defaultnumberingprovider.cxx | 26 +++++++++++----------- .../inputchecker/inputsequencechecker_hi.cxx | 2 +- i18npool/source/localedata/LocaleNode.cxx | 8 +++---- .../source/transliteration/transliterationImpl.cxx | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) (limited to 'i18npool') diff --git a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx index 98f52939bcbe..eb75e9fc3317 100644 --- a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx +++ b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx @@ -622,13 +622,13 @@ DefaultNumberingProvider::makeNumberingString( const SequenceA, 2=>B, ..., 26=>Z, 27=>AA, 28=>AB, ... break; @@ -905,23 +905,23 @@ DefaultNumberingProvider::makeNumberingString( const Sequence xNatNum(new NativeNumberSupplierService); result += xNatNum->getNativeNumberStringParams(OUString::number(number), locale, natNum, sNatNumParams); - } else if (tableSize) { + } else if (tableSize) { if ( number > tableSize && !bRecycleSymbol) result += OUString::number( number); else result += OUString(&table[--number % tableSize], 1); - } + } - // append suffix - if( !should_ignore(suffix) ) result += suffix; + // append suffix + if( !should_ignore(suffix) ) result += suffix; - return result; + return result; } #define LANG_ALL (1 << 0) diff --git a/i18npool/source/inputchecker/inputsequencechecker_hi.cxx b/i18npool/source/inputchecker/inputsequencechecker_hi.cxx index c560833a9020..2a33fe104d7c 100644 --- a/i18npool/source/inputchecker/inputsequencechecker_hi.cxx +++ b/i18npool/source/inputchecker/inputsequencechecker_hi.cxx @@ -113,7 +113,7 @@ InputSequenceChecker_hi::checkInputSequence(const OUString& Text, sal_Int16 inputCheckMode) { sal_Unicode currentChar = Text[nStartPos]; - sal_uInt16 ch1 = getCharType(inputChar); + sal_uInt16 ch1 = getCharType(inputChar); sal_uInt16 ch2 = getCharType(currentChar); return (DEV_Composible[inputCheckMode][dev_cell_check[ch2][ch1]]); diff --git a/i18npool/source/localedata/LocaleNode.cxx b/i18npool/source/localedata/LocaleNode.cxx index 6944059729e4..c58f1cdbec16 100644 --- a/i18npool/source/localedata/LocaleNode.cxx +++ b/i18npool/source/localedata/LocaleNode.cxx @@ -109,10 +109,10 @@ LocaleNode* LocaleNode::createNode (const OUString& name, const Reference< XAttr return new LCSearchNode (name,attr); if ( name == "LC_MISC" ) return new LCMiscNode (name,attr); - if ( name == "LC_NumberingLevel" ) - return new LCNumberingLevelNode (name, attr); - if ( name == "LC_OutLineNumberingLevel" ) - return new LCOutlineNumberingLevelNode (name, attr); + if ( name == "LC_NumberingLevel" ) + return new LCNumberingLevelNode (name, attr); + if ( name == "LC_OutLineNumberingLevel" ) + return new LCOutlineNumberingLevelNode (name, attr); return new LocaleNode(name,attr); } diff --git a/i18npool/source/transliteration/transliterationImpl.cxx b/i18npool/source/transliteration/transliterationImpl.cxx index 16bcfd3f96b2..2136ed4cdbf5 100644 --- a/i18npool/source/transliteration/transliterationImpl.cxx +++ b/i18npool/source/transliteration/transliterationImpl.cxx @@ -180,7 +180,7 @@ static TransliterationModules operator|(TransliterationModules lhs, Transliterat void SAL_CALL TransliterationImpl::loadModule( TransliterationModules modType, const Locale& rLocale ) { - clear(); + clear(); if (bool(modType & TransliterationModules_IGNORE_MASK) && bool(modType & TransliterationModules_NON_IGNORE_MASK)) { -- cgit v1.2.3