diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-12-21 12:16:04 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-12-21 12:16:04 +0000 |
commit | 2aab4b0ddaa4482c2ea90ba68963bab2b2be097d (patch) | |
tree | fad69e012a442aa761f62498c8840c8a51cfd057 /connectivity/source/drivers/evoab/LFolderList.cxx | |
parent | 431b1fcadffd9d9534988977ccbb24811a28b328 (diff) |
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
Diffstat (limited to 'connectivity/source/drivers/evoab/LFolderList.cxx')
-rw-r--r-- | connectivity/source/drivers/evoab/LFolderList.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/connectivity/source/drivers/evoab/LFolderList.cxx b/connectivity/source/drivers/evoab/LFolderList.cxx index 4c74b926941c..9b356fb74cb2 100644 --- a/connectivity/source/drivers/evoab/LFolderList.cxx +++ b/connectivity/source/drivers/evoab/LFolderList.cxx @@ -4,9 +4,9 @@ * * $RCSfile: LFolderList.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: rt $ $Date: 2005-09-08 05:45:23 $ + * last change: $Author: obo $ $Date: 2005-12-21 13:16:04 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -135,7 +135,7 @@ using namespace ::com::sun::star::container; 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 @@ void OEvoabFolderList::fillColumns() 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 @@ void OEvoabFolderList::fillColumns() // 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 @@ void OEvoabFolderList::construct() nSize > 10000 ? 4096 : 1024); OSL_TRACE("OEvoabFolderList::construct()::m_pFileStream->Tell() = %d\n", nSize ); - fillColumns(); + fillColumns(aAppLocale); } } |