diff options
author | Vladimir Glazunov <vg@openoffice.org> | 2010-10-14 12:52:12 +0200 |
---|---|---|
committer | Vladimir Glazunov <vg@openoffice.org> | 2010-10-14 12:52:12 +0200 |
commit | 1c0fc0d39db233908d3888ff4a0188126c3958aa (patch) | |
tree | 31bd4d602b5efb1a0053f261095e0f1c9894e92a /lingucomponent/source | |
parent | 365999b26e80d5b1fb68eb5c075f044cbd8b4d01 (diff) | |
parent | 620c662f4619ebe078687ff3026ab8215cd98ed6 (diff) |
#i10000# changes from OOO330 m10
Diffstat (limited to 'lingucomponent/source')
-rwxr-xr-x | lingucomponent/source/spellcheck/spell/sspellimp.cxx | 3 |
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 --- 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 |