summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-08 13:17:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-09 17:07:29 +0100
commitde8c193833a7c60826015ecaed13d9fb3d1e0aba (patch)
treed057f3c759ab8ccd917038f6ef30b22b8a5d293b /i18npool
parentcfadf87cf51e0681d5fc4059a973ed1630a8203f (diff)
loplugin:indentation in helpcompiler..io
Change-Id: Ia3f05662cc9542feeac3096d29e9dec6d1858620 Reviewed-on: https://gerrit.libreoffice.org/67558 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx26
-rw-r--r--i18npool/source/inputchecker/inputsequencechecker_hi.cxx2
-rw-r--r--i18npool/source/localedata/LocaleNode.cxx8
-rw-r--r--i18npool/source/transliteration/transliterationImpl.cxx2
4 files changed, 19 insertions, 19 deletions
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 Sequence<beans::PropertyVal
// start empty
OUString result;
- // append prefix
- if( !should_ignore(prefix) ) result += prefix;
+ // append prefix
+ if( !should_ignore(prefix) ) result += prefix;
- // append formatted number
- using namespace style::NumberingType;
- switch( numType )
- {
+ // append formatted number
+ using namespace style::NumberingType;
+ switch( numType )
+ {
case CHARS_UPPER_LETTER:
lcl_formatChars( upperLetter, 26, number-1, result ); // 1=>A, 2=>B, ..., 26=>Z, 27=>AA, 28=>AB, ...
break;
@@ -905,23 +905,23 @@ DefaultNumberingProvider::makeNumberingString( const Sequence<beans::PropertyVal
default:
OSL_ASSERT(false);
throw IllegalArgumentException();
- }
+ }
- if (natNum) {
+ if (natNum) {
rtl::Reference<NativeNumberSupplierService> 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))
{