summaryrefslogtreecommitdiffstats
path: root/lingucomponent
diff options
context:
space:
mode:
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