diff options
author | Jan Holesovsky <kendy@suse.cz> | 2010-10-13 11:30:55 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2010-10-13 11:30:55 +0200 |
commit | 9d8c45d9a82e1ec53b5a7a989756415fe3d593a8 (patch) | |
tree | c2602f05f83718fcd29e3803888667bd5ceebaa0 /lingucomponent | |
parent | ead7290449772fa3bdd9c888afa8072862fab701 (diff) | |
parent | 620c662f4619ebe078687ff3026ab8215cd98ed6 (diff) |
Merge commit 'ooo/OOO330_m10'
Diffstat (limited to 'lingucomponent')
-rw-r--r-- | 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 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 |