summaryrefslogtreecommitdiffstats
path: root/lingucomponent
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2010-10-13 11:30:55 +0200
committerJan Holesovsky <kendy@suse.cz>2010-10-13 11:30:55 +0200
commit9d8c45d9a82e1ec53b5a7a989756415fe3d593a8 (patch)
treec2602f05f83718fcd29e3803888667bd5ceebaa0 /lingucomponent
parentAdd vim/emacs modelines to all source files (diff)
parentCWS-TOOLING: integrate CWS dict33a (diff)
downloadcore-9d8c45d9a82e1ec53b5a7a989756415fe3d593a8.tar.gz
core-9d8c45d9a82e1ec53b5a7a989756415fe3d593a8.zip
Merge commit 'ooo/OOO330_m10'
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 151ee4016e72..559cffe21e30 100644
--- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx
+++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
@@ -374,6 +374,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