INTEGRATION: CWS hsqldb5 (1.12.14); FILE MERGED
2005/07/12 07:42:09 oj 1.12.14.1: #i51821# increment pLookup by 2
This commit is contained in:
parent
2ba097ec6f
commit
a5e5a06b67
1 changed files with 4 additions and 4 deletions
|
@ -2,9 +2,9 @@
|
||||||
*
|
*
|
||||||
* $RCSfile: HDriver.cxx,v $
|
* $RCSfile: HDriver.cxx,v $
|
||||||
*
|
*
|
||||||
* $Revision: 1.12 $
|
* $Revision: 1.13 $
|
||||||
*
|
*
|
||||||
* last change: $Author: rt $ $Date: 2005-06-27 08:24:37 $
|
* last change: $Author: kz $ $Date: 2005-07-14 11:42:01 $
|
||||||
*
|
*
|
||||||
* The Contents of this file are made available subject to the terms of
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
|
@ -733,10 +733,10 @@ namespace connectivity
|
||||||
}
|
}
|
||||||
|
|
||||||
const sal_Char** pLookup = pTranslations;
|
const sal_Char** pLookup = pTranslations;
|
||||||
for ( ; *pLookup; ++pLookup )
|
for ( ; *pLookup; pLookup +=2 )
|
||||||
{
|
{
|
||||||
sal_Int32 nCompareUntil = 0;
|
sal_Int32 nCompareUntil = 0;
|
||||||
while ( (*pLookup)[ nCompareUntil ] != nCompareTermination )
|
while ( (*pLookup)[ nCompareUntil ] != nCompareTermination && (*pLookup)[ nCompareUntil ] != 0 )
|
||||||
++nCompareUntil;
|
++nCompareUntil;
|
||||||
|
|
||||||
if ( sLocaleString.equalsAsciiL( *pLookup, nCompareUntil ) )
|
if ( sLocaleString.equalsAsciiL( *pLookup, nCompareUntil ) )
|
||||||
|
|
Loading…
Reference in a new issue