summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-10 12:27:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-11 07:00:45 +0100
commit9e03f6820417c9fcda27b49d9fa5a464f1255c84 (patch)
tree2736cfcb5fee7b0d397581faf380efc589155eb7 /lingucomponent
parent7df04009b98165f89c89f1e506ebafd2fecc8f5a (diff)
loplugin:indentation in lingucomponent..tools
Change-Id: I96ed4c51ce3fe45c1cb69a7d7ff917f1e152462e Reviewed-on: https://gerrit.libreoffice.org/67607 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/languageguessing/simpleguesser.cxx2
-rw-r--r--lingucomponent/source/spellcheck/spell/sspellimp.cxx4
-rw-r--r--lingucomponent/source/thesaurus/libnth/nthesdta.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/lingucomponent/source/languageguessing/simpleguesser.cxx b/lingucomponent/source/languageguessing/simpleguesser.cxx
index 589fbeb54f2b..3220935e1688 100644
--- a/lingucomponent/source/languageguessing/simpleguesser.cxx
+++ b/lingucomponent/source/languageguessing/simpleguesser.cxx
@@ -65,7 +65,7 @@ static int startsAsciiCaseInsensitive(const std::string &s1, const std::string &
- rtl::toAsciiUpperCase(static_cast<unsigned char>(s2[i]));
if(s1[i] == '.' || s2[i] == '.') {ret = 0;} //. is a neutral character
}
- return ret;
+ return ret;
}
/**
diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
index e62dfe5c6194..1a6bb0390f9d 100644
--- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx
+++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
@@ -382,7 +382,7 @@ sal_Bool SAL_CALL SpellChecker::isValid( const OUString& rWord, const Locale& rL
{
MutexGuard aGuard( GetLinguMutex() );
- if (rLocale == Locale() || rWord.isEmpty())
+ if (rLocale == Locale() || rWord.isEmpty())
return true;
if (!hasLocale( rLocale ))
@@ -507,7 +507,7 @@ Reference< XSpellAlternatives > SAL_CALL SpellChecker::spell(
{
MutexGuard aGuard( GetLinguMutex() );
- if (rLocale == Locale() || rWord.isEmpty())
+ if (rLocale == Locale() || rWord.isEmpty())
return nullptr;
if (!hasLocale( rLocale ))
diff --git a/lingucomponent/source/thesaurus/libnth/nthesdta.cxx b/lingucomponent/source/thesaurus/libnth/nthesdta.cxx
index 7e23f023c4e5..c01584eff8c5 100644
--- a/lingucomponent/source/thesaurus/libnth/nthesdta.cxx
+++ b/lingucomponent/source/thesaurus/libnth/nthesdta.cxx
@@ -59,7 +59,7 @@ OUString SAL_CALL Meaning::getMeaning()
Sequence< OUString > SAL_CALL Meaning::querySynonyms()
{
MutexGuard aGuard( GetLinguMutex() );
- return aSyn;
+ return aSyn;
}
void Meaning::SetSynonyms( const Sequence< OUString > &rSyn )