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
commit620c662f4619ebe078687ff3026ab8215cd98ed6 (patch)
treebe11a66ec9415571b0639bcd8f696c2294cd487f
parent5d2c7c7d942ec8cb48e0ccbdd3172905efba167e (diff)
parent7f245231f6129c8b9c2122771906312ae76a4de9 (diff)
CWS-TOOLING: integrate CWS dict33a
Notes
split repo tag: components_ooo/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 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