summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorThomas Lange [tl] <tl@openoffice.org>2010-09-29 10:23:10 +0200
committerThomas Lange [tl] <tl@openoffice.org>2010-09-29 10:23:10 +0200
commit7f245231f6129c8b9c2122771906312ae76a4de9 (patch)
tree22d517d14f79b5b2c95550051ba509b21db13558 /lingucomponent
parentf8950c9ad7f5668ae6496dfaf3b8953069ce927e (diff)
cws dict33a: #i114774 thesaurus patch applied
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/spellcheck/spell/sspellimp.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
index 0cb6ad8ec3da..5fc0c517e141 100644
--- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx
+++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
@@ -375,6 +375,9 @@ sal_Bool SAL_CALL
return TRUE;
#endif
+ // return FALSE to process SPELLML requests (they are longer than the header)
+ if (rWord.match(A2OU(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
// PropertySet which are overridden by the supplied ones from the