summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-10-21 16:44:33 +0200
committersb <sb@openoffice.org>2010-10-21 16:44:33 +0200
commit91932e01c3928f568ec9bb0ac1a23c40e4e3fc90 (patch)
tree9ceca5139846c8fcd983fee12aa57c4bb5e7c3ad /lingucomponent
parentb062466acb96f7cd95a7aa65d7c4d887afeb55de (diff)
parent81876836fefde83479909875065d540f6c61143a (diff)
sb131: merged in DEV300_m90
Diffstat (limited to 'lingucomponent')
-rw-r--r--[-rwxr-xr-x]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 05ae1ab1a6e9..577d105afcde 100755..100644
--- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx
+++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
@@ -376,6 +376,9 @@ sal_Bool SAL_CALL SpellChecker::isValid( const OUString& rWord, const Locale& rL
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