Tag: cws_src680_warnings01
User: sb      
Date: 06/01/25 12:49:17

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

Log:
 RESYNC: (1.10-1.11); FILE MERGED

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.30.3&r2=1.10.30.4
Delta lines:  +7 -6
-------------------
--- LTable.cxx  21 Nov 2005 10:07:43 -0000      1.10.30.3
+++ LTable.cxx  25 Jan 2006 20:49:15 -0000      1.10.30.4
@@ -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;
 
@@ -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();
@@ -236,7 +237,7 @@
                                        // nur Ziffern und Dezimalpunkt und 
Tausender-Trennzeichen?
                                        if ((!cDecimalDelimiter || c != 
cDecimalDelimiter) &&
                                                (!cThousandDelimiter || c != 
cThousandDelimiter) &&
-                                               !isdigit(c))
+                                               !aCharClass.isDigit(aField2,j))
                                        {
                                                bNumeric = FALSE;
                                                break;
@@ -429,7 +430,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