User: obo     
Date: 05/12/21 05:16:30

Modified:
 /dba/connectivity/source/drivers/evoab/
  LTable.cxx

Log:
 INTEGRATION: CWS dba202a (1.10.36); FILE MERGED
 2005/11/25 08:34:39 oj 1.10.36.1: #126933# check if char is > 127

File Changes:

Directory: /dba/connectivity/source/drivers/evoab/
==================================================

File [changed]: LTable.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/evoab/LTable.cxx?r1=1.10&r2=1.11
Delta lines:  +4 -3
-------------------
--- LTable.cxx  8 Sep 2005 05:47:42 -0000       1.10
+++ LTable.cxx  21 Dec 2005 13:16:28 -0000      1.11
@@ -126,7 +126,7 @@
 using namespace ::com::sun::star::lang;
 
 // -------------------------------------------------------------------------
-void OEvoabTable::fillColumns()
+void OEvoabTable::fillColumns(const ::com::sun::star::lang::Locale& _aLocale)
 {
        BOOL bRead = TRUE;
 
@@ -173,6 +173,7 @@
        m_aScales.reserve(nFieldCount);
 
        sal_Bool bCase = 
getConnection()->getMetaData()->storesMixedCaseQuotedIdentifiers();
+       CharClass aCharClass(pConnection->getDriver()->getFactory(),_aLocale);
        // read description
        sal_Unicode cDecimalDelimiter  = pConnection->getDecimalDelimiter();
        sal_Unicode cThousandDelimiter = pConnection->getThousandDelimiter();
@@ -238,7 +239,7 @@
                                        // nur Ziffern und Dezimalpunkt und 
Tausender-Trennzeichen?
                                        if ((!cDecimalDelimiter || c != 
cDecimalDelimiter) &&
                                                (!cThousandDelimiter || c != 
cThousandDelimiter) &&
-                                               !isdigit(c))
+                                               !aCharClass.isDigit(aField2,j))
                                        {
                                                bNumeric = FALSE;
                                                break;
@@ -431,7 +432,7 @@
                                                                        nSize > 
10000   ? 4096  : 1024);
                OSL_TRACE("OEvoabTable::construct()::m_pFileStream->Tell() = 
%d\n", nSize );
 
-               fillColumns();
+               fillColumns(aAppLocale);
 
                refreshColumns();
        }




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to