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

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

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

File Changes:

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

File [changed]: LFolderList.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/evoab/LFolderList.cxx?r1=1.7&r2=1.8
Delta lines:  +4 -3
-------------------
--- LFolderList.cxx     8 Sep 2005 05:45:23 -0000       1.7
+++ LFolderList.cxx     21 Dec 2005 13:16:04 -0000      1.8
@@ -135,7 +135,7 @@
 using namespace ::com::sun::star::lang;
 
 // -------------------------------------------------------------------------
-void OEvoabFolderList::fillColumns()
+void OEvoabFolderList::fillColumns(const ::com::sun::star::lang::Locale& 
_aLocale)
 {
        BOOL bRead = TRUE;
 
@@ -172,6 +172,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();
@@ -226,7 +227,7 @@
                                        // nur Ziffern und Dezimalpunkt und 
Tausender-Trennzeichen?
                                        if ((!cDecimalDelimiter || c != 
cDecimalDelimiter) &&
                                                (!cThousandDelimiter || c != 
cThousandDelimiter) &&
-                                               !isdigit(c))
+                                               !aCharClass.isDigit(aField2,j))
                                        {
                                                bNumeric = FALSE;
                                                break;
@@ -408,7 +409,7 @@
                                                                        nSize > 
10000   ? 4096  : 1024);
                OSL_TRACE("OEvoabFolderList::construct()::m_pFileStream->Tell() 
= %d\n", nSize );
 
-               fillColumns();
+               fillColumns(aAppLocale);
        }
 }
 




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

Reply via email to