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 | |
parent | #i10000# (diff) | |
parent | CWS-TOOLING: integrate CWS dict33a (diff) | |
download | core-1c0fc0d39db233908d3888ff4a0188126c3958aa.tar.gz core-1c0fc0d39db233908d3888ff4a0188126c3958aa.zip |
#i10000# changes from OOO330 m10
Diffstat (limited to 'lingucomponent')
-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 |