diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-05-06 14:12:29 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-05-06 14:12:29 +0000 |
commit | 5d75b55384b316e9a785fe12b416ea70a860308d (patch) | |
tree | 6b5f3fe23dc038810cfc63cd7fa18f9fa17a12d3 /lingucomponent/source/hyphenator | |
parent | 1ebaf572136c17f9c57d1e9e6dc45aaf80316608 (diff) |
INTEGRATION: CWS lcwarnings2 (1.21.16); FILE MERGED
2008/04/17 12:11:27 tl 1.21.16.2: RESYNC: (1.21-1.24); FILE MERGED
2008/02/29 10:12:38 tl 1.21.16.1: #i68903# warning-free code for lingucomponent wntmsci11
Diffstat (limited to 'lingucomponent/source/hyphenator')
-rw-r--r-- | lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx b/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx index 6ee2c56dba2f..be56bdde4e3b 100644 --- a/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx +++ b/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: hyphenimp.cxx,v $ - * $Revision: 1.26 $ + * $Revision: 1.27 $ * * This file is part of OpenOffice.org. * @@ -470,8 +470,8 @@ Hyphenator::hyphenate( const ::rtl::OUString& aWord, aWord.replaceAt(nHyphenationPosAlt + 1, cut[nHyphenationPos], repHyph), (INT16) nHyphenationPosAltHyph); } else { - xRes = new HyphenatedWord( aWord, LocaleToLanguage( aLocale ), nHyphenationPos, - aWord, (INT16) nHyphenationPos); + xRes = new HyphenatedWord( aWord, LocaleToLanguage( aLocale ), + (INT16)nHyphenationPos, aWord, (INT16) nHyphenationPos); } } @@ -659,7 +659,7 @@ sal_uInt16 SAL_CALL Hyphenator::capitalType(const OUString& aTerm, CharClass * p 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++; } |