diff options
author | Kevin Hendricks <khendricks@openoffice.org> | 2003-06-24 18:48:04 +0000 |
---|---|---|
committer | Kevin Hendricks <khendricks@openoffice.org> | 2003-06-24 18:48:04 +0000 |
commit | a574395c5ec88f4fdf67595d1ae52ce57573d631 (patch) | |
tree | 7af03e37337ec96567b8e179ce74e6983b0c438e | |
parent | e85e42a54d8d079f801e3ae93c17798de3cc589b (diff) |
updating HEAD of lingucomponent to match the more recent
OOo 1.1rc version.
-rw-r--r-- | lingucomponent/source/spellcheck/spell/sspellimp.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx b/lingucomponent/source/spellcheck/spell/sspellimp.cxx index a43f01c28f70..3e34f420b1d9 100644 --- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx +++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx @@ -2,9 +2,9 @@ * * $RCSfile: sspellimp.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: vg $ $Date: 2003-06-12 10:41:01 $ + * last change: $Author: khendricks $ $Date: 2003-06-24 19:48:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -359,6 +359,10 @@ INT16 SpellChecker::GetSpellFailure( const OUString &rWord, const Locale &rLocal aDEncs[i] = 0; if (aDicts[i]) { aDEncs[i] = rtl_getTextEncodingFromUnixCharset(aDicts[i]->get_dic_encoding()); + if ((aDEncs[i] == RTL_TEXTENCODING_DONTKNOW) + && (strcmp("ISCII-DEVANAGARI",aDicts[i]->get_dic_encoding()) == 0)) { + aDEncs[i] = RTL_TEXTENCODING_ISCII_DEVANAGARI; + } } } pMS = aDicts[i]; |