diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2006-03-07 09:15:42 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2006-03-07 09:15:42 +0000 |
commit | 992941c4c7ba667533c5b08294e944f3cd5da26a (patch) | |
tree | 891dd3b8c514f2ec3914527c5eec41f64f4fb823 /lingucomponent | |
parent | e930696ba90745350ad2404bb9e8f5df10e3f208 (diff) |
INTEGRATION: CWS sw8pp2utf8 (1.5.10); FILE MERGED
2006/01/09 15:26:35 tl 1.5.10.1: #53960# patch applied: Wrong case, when replacing word with synonym list from thesaurus
Diffstat (limited to 'lingucomponent')
-rw-r--r-- | lingucomponent/source/thesaurus/libnth/nthesimp.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx index 86c48d20c..6afe8d81c 100644 --- a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx +++ b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx @@ -4,9 +4,9 @@ * * $RCSfile: nthesimp.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: rt $ $Date: 2005-11-08 09:02:04 $ + * last change: $Author: rt $ $Date: 2006-03-07 10:15:42 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -396,6 +396,9 @@ Sequence < Reference < ::com::sun::star::linguistic2::XMeaning > > SAL_CALL OUString *pStr = aStr.getArray(); for (int i=0; i < count; i++) { OUString sTerm(pe->psyns[i],strlen(pe->psyns[i]),aEnc ); + sal_uInt16 ct1 = capitalType(sTerm, pCC); + if (CAPTYPE_MIXED == ct1) + ct = ct1; OUString cTerm; switch (ct) { case CAPTYPE_ALLCAP: |