diff options
author | Rüdiger Timm <rt@openoffice.org> | 2003-12-01 15:20:32 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2003-12-01 15:20:32 +0000 |
commit | 0eefa4c1a0d75b2226d145eb47ea712cc7a44bd5 (patch) | |
tree | 310bbd6303ae08dc3d55a9dc01640d689aaafa84 /linguistic/source/lngsvcmgr.cxx | |
parent | 07c2b8aac2227cf428771a42d1f092186b450e8f (diff) |
INTEGRATION: CWS ooo20031110 (1.17.38); FILE MERGED
2003/11/16 03:40:06 waratah 1.17.38.1: #i22301# Correct for scoping code issue, conflict with standard
Diffstat (limited to 'linguistic/source/lngsvcmgr.cxx')
-rw-r--r-- | linguistic/source/lngsvcmgr.cxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx index 9f006723a747..99394f70e358 100644 --- a/linguistic/source/lngsvcmgr.cxx +++ b/linguistic/source/lngsvcmgr.cxx @@ -2,9 +2,9 @@ * * $RCSfile: lngsvcmgr.cxx,v $ * - * $Revision: 1.17 $ + * $Revision: 1.18 $ * - * last change: $Author: vg $ $Date: 2003-04-15 15:47:44 $ + * last change: $Author: rt $ $Date: 2003-12-01 16:20:32 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -142,7 +142,9 @@ static Sequence< Locale > GetAvailLocales( // check all services for the supported languages and new // languages to the result const OUString *pImplNames = rSvcImplNames.getConstArray(); - for (INT32 i = 0; i < nNames; ++i) + INT32 i; + + for ( i = 0; i < nNames; ++i) { Reference< XSupportedLocales > xSuppLoc( xFac->createInstanceWithArguments( pImplNames[i], aArgs ), @@ -201,7 +203,9 @@ BOOL SvcInfo::HasLanguage( INT16 nLanguage ) const { INT32 nCnt = aSuppLanguages.getLength(); const INT16 *pLang = aSuppLanguages.getConstArray(); - for (INT32 i = 0; i < nCnt; ++i) + INT32 i; + + for ( i = 0; i < nCnt; ++i) { if (nLanguage == pLang[i]) break; |