Tag: cws_src680_dba201 User: oj Date: 05/06/06 01:54:20 Modified: /dba/dbaccess/source/ui/misc/ UITools.cxx
Log: #i50161# post operator failure corrected File Changes: Directory: /dba/dbaccess/source/ui/misc/ ======================================== File [changed]: UITools.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/misc/UITools.cxx?r1=1.56.28.1&r2=1.56.28.2 Delta lines: +33 -19 --------------------- --- UITools.cxx 29 Apr 2005 08:19:02 -0000 1.56.28.1 +++ UITools.cxx 6 Jun 2005 08:54:16 -0000 1.56.28.2 @@ -2,9 +2,9 @@ * * $RCSfile: UITools.cxx,v $ * - * $Revision: 1.56.28.1 $ + * $Revision: 1.56.28.2 $ * - * last change: $Author: oj $ $Date: 2005/04/29 08:19:02 $ + * last change: $Author: oj $ $Date: 2005/06/06 08:54:16 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -738,38 +738,52 @@ aTypes.push_back(xResultSetMetaData->getColumnType(j)); } - aValue.fill(nPos,aTypes[nPos++],xRow); + aValue.fill(nPos,aTypes[nPos],xRow); pInfo->aTypeName = aValue; - aValue.fill(nPos,aTypes[nPos++],xRow); + ++nPos; + aValue.fill(nPos,aTypes[nPos],xRow); pInfo->nType = aValue; - aValue.fill(nPos,aTypes[nPos++],xRow); + ++nPos; + aValue.fill(nPos,aTypes[nPos],xRow); pInfo->nPrecision = aValue; - aValue.fill(nPos,aTypes[nPos++],xRow); + ++nPos; + aValue.fill(nPos,aTypes[nPos],xRow); pInfo->aLiteralPrefix = aValue; - aValue.fill(nPos,aTypes[nPos++],xRow); + ++nPos; + aValue.fill(nPos,aTypes[nPos],xRow); pInfo->aLiteralSuffix = aValue; - aValue.fill(nPos,aTypes[nPos++],xRow); + ++nPos; + aValue.fill(nPos,aTypes[nPos],xRow); pInfo->aCreateParams = aValue; - aValue.fill(nPos,aTypes[nPos++],xRow); + ++nPos; + aValue.fill(nPos,aTypes[nPos],xRow); pInfo->bNullable = (sal_Int32)aValue == ColumnValue::NULLABLE; - aValue.fill(nPos,aTypes[nPos++],xRow); + ++nPos; + aValue.fill(nPos,aTypes[nPos],xRow); pInfo->bCaseSensitive = aValue; - aValue.fill(nPos,aTypes[nPos++],xRow); + ++nPos; + aValue.fill(nPos,aTypes[nPos],xRow); pInfo->nSearchType = aValue; - aValue.fill(nPos,aTypes[nPos++],xRow); + ++nPos; + aValue.fill(nPos,aTypes[nPos],xRow); pInfo->bUnsigned = aValue; - aValue.fill(nPos,aTypes[nPos++],xRow); + ++nPos; + aValue.fill(nPos,aTypes[nPos],xRow); pInfo->bCurrency = aValue; - aValue.fill(nPos,aTypes[nPos++],xRow); + ++nPos; + aValue.fill(nPos,aTypes[nPos],xRow); pInfo->bAutoIncrement = aValue; - aValue.fill(nPos,aTypes[nPos++],xRow); + ++nPos; + aValue.fill(nPos,aTypes[nPos],xRow); pInfo->aLocalTypeName = aValue; - aValue.fill(nPos,aTypes[nPos++],xRow); + ++nPos; + aValue.fill(nPos,aTypes[nPos],xRow); pInfo->nMinimumScale = aValue; - aValue.fill(nPos,aTypes[nPos++],xRow); + ++nPos; + aValue.fill(nPos,aTypes[nPos],xRow); pInfo->nMaximumScale = aValue; nPos = 18; - aValue.fill(nPos,aTypes[nPos++],xRow); + aValue.fill(nPos,aTypes[nPos],xRow); pInfo->nNumPrecRadix = aValue; // check if values are less than zero like it happens in a oracle jdbc driver @@ -1545,7 +1559,7 @@ Reference< ::com::sun::star::util::XNumberFormatsSupplier > xSupplier = _rxFormatter->getNumberFormatsSupplier(); Reference< XUnoTunnel > xTunnel(xSupplier,UNO_QUERY); - SvNumberFormatsSupplierObj* pSupplierImpl = (SvNumberFormatsSupplierObj*)xTunnel->getSomething(SvNumberFormatsSupplierObj::getUnoTunnelId()); + SvNumberFormatsSupplierObj* pSupplierImpl = reinterpret_cast<SvNumberFormatsSupplierObj*>(xTunnel->getSomething(SvNumberFormatsSupplierObj::getUnoTunnelId())); OSL_ENSURE(pSupplierImpl,"No Supplier!"); if ( pSupplierImpl ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
