Lines Matching refs:dVal
176 double dVal = ImpCurrencyToDouble( r ); in ImpPutCurrency() local
202 p->nSingle = (float)dVal; break; in ImpPutCurrency()
205 p->nDouble = dVal; break; in ImpPutCurrency()
207 p->nInt64 = ImpDoubleToSalInt64( dVal ); break; in ImpPutCurrency()
209 p->uInt64 = ImpDoubleToSalUInt64( dVal ); break; in ImpPutCurrency()
216 if( !pDec->setDouble( dVal ) ) in ImpPutCurrency()
238 if( dVal > SbxMAXCHAR ) in ImpPutCurrency()
240 SbxBase::SetError( SbxERR_OVERFLOW ); dVal = SbxMAXCHAR; in ImpPutCurrency()
242 else if( dVal < SbxMINCHAR ) in ImpPutCurrency()
244 SbxBase::SetError( SbxERR_OVERFLOW ); dVal = SbxMINCHAR; in ImpPutCurrency()
246 *p->pChar = (xub_Unicode) dVal; break; in ImpPutCurrency()
248 if( dVal > SbxMAXBYTE ) in ImpPutCurrency()
250 SbxBase::SetError( SbxERR_OVERFLOW ); dVal = SbxMAXBYTE; in ImpPutCurrency()
252 else if( dVal < 0 ) in ImpPutCurrency()
254 SbxBase::SetError( SbxERR_OVERFLOW ); dVal = 0; in ImpPutCurrency()
256 *p->pByte = (sal_uInt8) dVal; break; in ImpPutCurrency()
259 if( dVal > SbxMAXINT ) in ImpPutCurrency()
261 SbxBase::SetError( SbxERR_OVERFLOW ); dVal = SbxMAXINT; in ImpPutCurrency()
263 else if( dVal < SbxMININT ) in ImpPutCurrency()
265 SbxBase::SetError( SbxERR_OVERFLOW ); dVal = SbxMININT; in ImpPutCurrency()
267 *p->pInteger = (sal_Int16) dVal; break; in ImpPutCurrency()
270 if( dVal > SbxMAXUINT ) in ImpPutCurrency()
272 SbxBase::SetError( SbxERR_OVERFLOW ); dVal = SbxMAXUINT; in ImpPutCurrency()
274 else if( dVal < 0 ) in ImpPutCurrency()
276 SbxBase::SetError( SbxERR_OVERFLOW ); dVal = 0; in ImpPutCurrency()
278 *p->pUShort = (sal_uInt16) dVal; break; in ImpPutCurrency()
280 if( dVal > SbxMAXLNG ) in ImpPutCurrency()
282 SbxBase::SetError( SbxERR_OVERFLOW ); dVal = SbxMAXLNG; in ImpPutCurrency()
284 else if( dVal < SbxMINLNG ) in ImpPutCurrency()
286 SbxBase::SetError( SbxERR_OVERFLOW ); dVal = SbxMINLNG; in ImpPutCurrency()
288 *p->pLong = (sal_Int32) dVal; break; in ImpPutCurrency()
290 if( dVal > SbxMAXULNG ) in ImpPutCurrency()
292 SbxBase::SetError( SbxERR_OVERFLOW ); dVal = SbxMAXULNG; in ImpPutCurrency()
294 else if( dVal < 0 ) in ImpPutCurrency()
296 SbxBase::SetError( SbxERR_OVERFLOW ); dVal = 0; in ImpPutCurrency()
298 *p->pULong = (sal_uInt32) dVal; break; in ImpPutCurrency()
300 *p->pnInt64 = ImpDoubleToSalInt64( dVal ); break; in ImpPutCurrency()
302 *p->puInt64 = ImpDoubleToSalUInt64( dVal ); break; in ImpPutCurrency()
304 *p->pSingle = (float) dVal; break; in ImpPutCurrency()
307 *p->pDouble = (double) dVal; break; in ImpPutCurrency()