summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-07-14 10:42:01 +0000
committerKurt Zenker <kz@openoffice.org>2005-07-14 10:42:01 +0000
commita5e5a06b67662a89d3c0b38a4c622c911c362734 (patch)
treed6914409904cafa888db9abefab1def43445065e
parent2ba097ec6f6c36f2c7188d3fd70a33dcdfcfde14 (diff)
INTEGRATION: CWS hsqldb5 (1.12.14); FILE MERGED
2005/07/12 07:42:09 oj 1.12.14.1: #i51821# increment pLookup by 2
-rw-r--r--connectivity/source/drivers/hsqldb/HDriver.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/hsqldb/HDriver.cxx b/connectivity/source/drivers/hsqldb/HDriver.cxx
index 597090ff0a9b..e8378b038657 100644
--- a/connectivity/source/drivers/hsqldb/HDriver.cxx
+++ b/connectivity/source/drivers/hsqldb/HDriver.cxx
@@ -2,9 +2,9 @@
*
* $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
* either of the following licenses
@@ -733,10 +733,10 @@ namespace connectivity
}
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 ) )