summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobo <obo@openoffice.org>2010-10-08 08:52:00 +0200
committerobo <obo@openoffice.org>2010-10-08 08:52:00 +0200
commit3bc9d661ba15d406b8c168a21757773d26d0a5a3 (patch)
tree060e832bf3756185701e30db80207438504d3c14
parent953d1c73f43de5e3df80b127f162d7a603965ad5 (diff)
parentb45f5c99e4da40993a333c64001f87b0925ce1a3 (diff)
CWS-TOOLING: integrate CWS dict33aooo/OOO330_m10
-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 894f9fd33..4b9ec517f 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