Lines Matching refs:nRes
33 sal_uInt32 nRes; in ImpGetULong() local
40 nRes = 0; break; in ImpGetULong()
42 nRes = p->nChar; in ImpGetULong()
45 nRes = p->nByte; break; in ImpGetULong()
50 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = 0; in ImpGetULong()
53 nRes = p->nInteger; in ImpGetULong()
57 nRes = p->nUShort; in ImpGetULong()
62 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = 0; in ImpGetULong()
65 nRes = p->nLong; in ImpGetULong()
68 nRes = p->nULong; break; in ImpGetULong()
72 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXULNG; in ImpGetULong()
76 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = 0; in ImpGetULong()
79 nRes = (sal_uInt32) ( p->nSingle + 0.5 ); in ImpGetULong()
113 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXULNG; in ImpGetULong()
117 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = 0; in ImpGetULong()
120 nRes = (sal_uInt32) ( dVal + 0.5 ); in ImpGetULong()
127 nRes = 0; in ImpGetULong()
133 nRes = 0; in ImpGetULong()
136 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXULNG; in ImpGetULong()
140 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = 0; in ImpGetULong()
143 nRes = (sal_uInt32) ( d + 0.5 ); in ImpGetULong()
150 nRes = pVal->GetULong(); in ImpGetULong()
153 SbxBase::SetError( SbxERR_NO_OBJECT ); nRes = 0; in ImpGetULong()
159 nRes = *p->pByte; break; in ImpGetULong()
162 nRes = *p->pUShort; break; in ImpGetULong()
164 nRes = *p->pULong; break; in ImpGetULong()
193 SbxBase::SetError( SbxERR_CONVERSION ); nRes = 0; in ImpGetULong()
195 return nRes; in ImpGetULong()