Tag: cws_src680_dba202a User: oj Date: 05/11/25 00:34:44 Modified: /dba/connectivity/source/drivers/evoab/ LFolderList.cxx, LFolderList.hxx, LTable.cxx, LTable.hxx
Log: #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.7.36.1 Delta lines: +7 -6 ------------------- --- LFolderList.cxx 8 Sep 2005 05:45:23 -0000 1.7 +++ LFolderList.cxx 25 Nov 2005 08:34:39 -0000 1.7.36.1 @@ -4,9 +4,9 @@ * * $RCSfile: LFolderList.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.7.36.1 $ * - * last change: $Author: rt $ $Date: 2005/09/08 05:45:23 $ + * last change: $Author: oj $ $Date: 2005/11/25 08:34:39 $ * * 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::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); } } File [changed]: LFolderList.hxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/evoab/LFolderList.hxx?r1=1.3&r2=1.3.36.1 Delta lines: +4 -4 ------------------- --- LFolderList.hxx 8 Sep 2005 05:45:36 -0000 1.3 +++ LFolderList.hxx 25 Nov 2005 08:34:39 -0000 1.3.36.1 @@ -4,9 +4,9 @@ * * $RCSfile: LFolderList.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.3.36.1 $ * - * last change: $Author: rt $ $Date: 2005/09/08 05:45:36 $ + * last change: $Author: oj $ $Date: 2005/11/25 08:34:39 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -80,7 +80,7 @@ sal_Bool m_bIsNull; private: - void fillColumns(); + void fillColumns(const ::com::sun::star::lang::Locale& _aLocale); BOOL CreateFile(const INetURLObject& aFile, BOOL& bCreateMemo); sal_Bool fetchRow(OValueRow _rRow,const OSQLColumns& _rCols); File [changed]: LTable.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/evoab/LTable.cxx?r1=1.10&r2=1.10.36.1 Delta lines: +7 -6 ------------------- --- LTable.cxx 8 Sep 2005 05:47:42 -0000 1.10 +++ LTable.cxx 25 Nov 2005 08:34:39 -0000 1.10.36.1 @@ -4,9 +4,9 @@ * * $RCSfile: LTable.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.10.36.1 $ * - * last change: $Author: rt $ $Date: 2005/09/08 05:47:42 $ + * last change: $Author: oj $ $Date: 2005/11/25 08:34:39 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -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(); } File [changed]: LTable.hxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/evoab/LTable.hxx?r1=1.4&r2=1.4.36.1 Delta lines: +4 -4 ------------------- --- LTable.hxx 8 Sep 2005 05:47:56 -0000 1.4 +++ LTable.hxx 25 Nov 2005 08:34:40 -0000 1.4.36.1 @@ -4,9 +4,9 @@ * * $RCSfile: LTable.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.4.36.1 $ * - * last change: $Author: rt $ $Date: 2005/09/08 05:47:56 $ + * last change: $Author: oj $ $Date: 2005/11/25 08:34:40 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -88,7 +88,7 @@ sal_Int32 m_nMaxRowCount; // will be set if stream is once eof ::std::vector< ::rtl::OUString> m_aColumnRawNames; sal_Bool setColumnAliases(); - void fillColumns(); + void fillColumns(const ::com::sun::star::lang::Locale& _aLocale); sal_Bool checkHeaderLine(); ::com::sun::star::uno::Reference< ::com::sun::star::beans::XFastPropertySet> isUniqueByColumnName(const ::rtl::OUString& _rColName); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
