summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-05-06 14:16:52 +0000
committerKurt Zenker <kz@openoffice.org>2008-05-06 14:16:52 +0000
commite6193678322fa28f6b4a04333687680fdc1d62ff (patch)
treeb8bc434504d80ead65bf2cdd7639c62bdfa2e03b /lingucomponent
parent5d75b55384b316e9a785fe12b416ea70a860308d (diff)
INTEGRATION: CWS lcwarnings2 (1.11.18); FILE MERGED
2008/04/17 12:11:46 tl 1.11.18.2: RESYNC: (1.11-1.13); FILE MERGED 2008/02/29 10:12:39 tl 1.11.18.1: #i68903# warning-free code for lingucomponent wntmsci11
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/thesaurus/libnth/nthesimp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
index 203ea7112f3d..2bbb58ad4c9d 100644
--- a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
+++ b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: nthesimp.cxx,v $
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
* This file is part of OpenOffice.org.
*
@@ -473,7 +473,7 @@ sal_uInt16 SAL_CALL Thesaurus::capitalType(const OUString& aTerm, CharClass * pC
if ((pCC) && (tlen)) {
String aStr(aTerm);
sal_Int32 nc = 0;
- for (sal_Int32 tindex = 0; tindex < tlen; tindex++) {
+ for (xub_StrLen tindex = 0; tindex < tlen; tindex++) {
if (pCC->getCharacterType(aStr,tindex) &
::com::sun::star::i18n::KCharacterType::UPPER) nc++;
}