From 7f245231f6129c8b9c2122771906312ae76a4de9 Mon Sep 17 00:00:00 2001 From: "Thomas Lange [tl]" Date: Wed, 29 Sep 2010 10:23:10 +0200 Subject: cws dict33a: #i114774 thesaurus patch applied --- lingucomponent/source/spellcheck/spell/sspellimp.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lingucomponent') 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 -- cgit v1.2.3