diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-11-01 09:57:53 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-11-01 09:57:53 +0000 |
commit | a687458d0d5358b9105402326294da190be01d42 (patch) | |
tree | a030ba1e39dbc4c9744df79254d31764be59e1e2 /linguistic | |
parent | d5710fd274e96a68adc14de685b1d665410cf2a8 (diff) |
INTEGRATION: CWS tl48_SRC680 (1.20.20); FILE MERGED
2007/10/09 14:31:06 tl 1.20.20.1: #i60474# isValidInAny does no check user dictionaries in all languages
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/spelldsp.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/linguistic/source/spelldsp.cxx b/linguistic/source/spelldsp.cxx index 0af4115ffb47..b375bc6eaa86 100644 --- a/linguistic/source/spelldsp.cxx +++ b/linguistic/source/spelldsp.cxx @@ -4,9 +4,9 @@ * * $RCSfile: spelldsp.cxx,v $ * - * $Revision: 1.20 $ + * $Revision: 1.21 $ * - * last change: $Author: vg $ $Date: 2007-05-25 12:25:03 $ + * last change: $Author: hr $ $Date: 2007-11-01 10:57:53 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -375,15 +375,12 @@ BOOL SpellCheckerDispatcher::isValidInAny( INT32 nNumLang = aLanguages.getLength(); const INT16 *pLang = aLanguages.getConstArray(); - BOOL bCheckDics = TRUE; for (int i = 0; i < nNumLang; i++) { - // Bug 71632 if( LANGUAGE_NONE != pLang[i] ) { - if (sal_True == (bRes = isValid_Impl( rWord, pLang[i], rProperties, bCheckDics ))) + if (sal_True == (bRes = isValid_Impl( rWord, pLang[i], rProperties, TRUE ))) break; - bCheckDics = FALSE; } } |