Tag: cws_src680_hsqldb5 User: oj Date: 05/07/12 00:42:12 Modified: /dba/connectivity/source/drivers/hsqldb/ HDriver.cxx
Log: #i51821# increment pLookup by 2 File Changes: Directory: /dba/connectivity/source/drivers/hsqldb/ =================================================== File [changed]: HDriver.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/hsqldb/HDriver.cxx?r1=1.12&r2=1.12.14.1 Delta lines: +5 -5 ------------------- --- HDriver.cxx 27 Jun 2005 08:24:37 -0000 1.12 +++ HDriver.cxx 12 Jul 2005 07:42:09 -0000 1.12.14.1 @@ -2,9 +2,9 @@ * * $RCSfile: HDriver.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.12.14.1 $ * - * last change: $Author: rt $ $Date: 2005/06/27 08:24:37 $ + * last change: $Author: oj $ $Date: 2005/07/12 07:42:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -733,10 +733,10 @@ } const sal_Char** pLookup = pTranslations; - for ( ; *pLookup; ++pLookup ) + for ( ; *pLookup; pLookup +=2 ) { sal_Int32 nCompareUntil = 0; - while ( (*pLookup)[ nCompareUntil ] != nCompareTermination ) + while ( (*pLookup)[ nCompareUntil ] != nCompareTermination && (*pLookup)[ nCompareUntil ] != 0 ) ++nCompareUntil; if ( sLocaleString.equalsAsciiL( *pLookup, nCompareUntil ) ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
