summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:17:48 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:25:44 +0200
commit0f1e0324312470340b3695c85385e51d1db21e67 (patch)
tree590298a8ee86dd6d0f4b5e539b7b509d1d69e988 /lingucomponent
parent73b9846e8242f4d383717d627cb84e97b91c58f3 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ia4afa4cc65215053ac44cc0b48e528064837c49e
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/spellcheck/spell/sspellimp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
index a9a15757d50f..6fb33cf520b6 100644
--- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx
+++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
@@ -394,13 +394,13 @@ sal_Bool SAL_CALL SpellChecker::isValid( const OUString& rWord, const Locale& rL
MutexGuard aGuard( GetLinguMutex() );
if (rLocale == Locale() || rWord.isEmpty())
- return sal_True;
+ return true;
if (!hasLocale( rLocale ))
- return sal_True;
+ return true;
// return sal_False to process SPELLML requests (they are longer than the header)
- if (rWord.match(SPELLML_HEADER, 0) && (rWord.getLength() > 10)) return sal_False;
+ if (rWord.match(SPELLML_HEADER, 0) && (rWord.getLength() > 10)) return false;
// Get property values to be used.
// These are be the default values set in the SN_LINGU_PROPERTIES