Lines Matching refs:nRes
42 SbxINT64 nRes; in ImpGetCurrency() local
49 nRes.SetNull(); break; in ImpGetCurrency()
51 nRes = ImpDoubleToCurrency( (double)p->nChar ); break; in ImpGetCurrency()
53 nRes = ImpDoubleToCurrency( (double)p->nByte ); break; in ImpGetCurrency()
56 nRes = ImpDoubleToCurrency( (double)p->nInteger ); break; in ImpGetCurrency()
59 nRes = ImpDoubleToCurrency( (double)p->nUShort ); break; in ImpGetCurrency()
61 nRes = p->nLong64; break; in ImpGetCurrency()
63 nRes = ImpDoubleToCurrency( (double)p->nLong ); in ImpGetCurrency()
66 nRes = ImpDoubleToCurrency( (double)p->nULong ); in ImpGetCurrency()
69 nRes = ImpDoubleToCurrency( (double)p->nInt64 ); in ImpGetCurrency()
72 nRes = ImpDoubleToCurrency( ImpSalUInt64ToDouble( p->uInt64 ) ); in ImpGetCurrency()
77 SbxBase::SetError( SbxERR_OVERFLOW ); nRes.SetMax(); in ImpGetCurrency()
81 SbxBase::SetError( SbxERR_OVERFLOW ); nRes.SetMin(); in ImpGetCurrency()
84 nRes = ImpDoubleToCurrency( (double)p->nSingle ); in ImpGetCurrency()
90 SbxBase::SetError( SbxERR_OVERFLOW ); nRes.SetMax(); in ImpGetCurrency()
94 SbxBase::SetError( SbxERR_OVERFLOW ); nRes.SetMin(); in ImpGetCurrency()
97 nRes = ImpDoubleToCurrency( p->nDouble ); in ImpGetCurrency()
107 SbxBase::SetError( SbxERR_OVERFLOW ); nRes.SetMax(); in ImpGetCurrency()
111 SbxBase::SetError( SbxERR_OVERFLOW ); nRes.SetMin(); in ImpGetCurrency()
114 nRes = ImpDoubleToCurrency( d ); in ImpGetCurrency()
121 nRes.SetNull(); in ImpGetCurrency()
123 nRes = ImpStringToCurrency( *p->pOUString ); in ImpGetCurrency()
129 nRes = pVal->GetCurrency(); in ImpGetCurrency()
132 SbxBase::SetError( SbxERR_NO_OBJECT ); nRes.SetNull(); in ImpGetCurrency()
138 nRes = ImpDoubleToCurrency( (double)*p->pChar ); break; in ImpGetCurrency()
140 nRes = ImpDoubleToCurrency( (double)*p->pByte ); break; in ImpGetCurrency()
143 nRes = ImpDoubleToCurrency( (double)*p->pInteger ); break; in ImpGetCurrency()
146 nRes = ImpDoubleToCurrency( (double)*p->pUShort ); break; in ImpGetCurrency()
148 nRes = *p->pLong64; break; in ImpGetCurrency()
169 SbxBase::SetError( SbxERR_CONVERSION ); nRes.SetNull(); in ImpGetCurrency()
171 return nRes; in ImpGetCurrency()
367 SbxINT64 nRes; in ImpStringToCurrency() local
368 aBig.INT64( &nRes ); in ImpStringToCurrency()
369 return nRes; in ImpStringToCurrency()
377 SbxINT64 nRes; in ImpDoubleToINT64() local
378 nRes.Set( d ); in ImpDoubleToINT64()
379 return nRes; in ImpDoubleToINT64()
387 SbxUINT64 nRes; in ImpDoubleToUINT64() local
388 nRes.Set( d ); in ImpDoubleToUINT64()
389 return nRes; in ImpDoubleToUINT64()