Lines Matching refs:nRes
33 sal_uInt16 nRes; in ImpGetUShort() local
40 nRes = 0; break; in ImpGetUShort()
42 nRes = p->nChar; in ImpGetUShort()
45 nRes = p->nByte; break; in ImpGetUShort()
50 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = 0; in ImpGetUShort()
53 nRes = p->nInteger; in ImpGetUShort()
57 nRes = p->nUShort; in ImpGetUShort()
62 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXUINT; in ImpGetUShort()
66 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = 0; in ImpGetUShort()
69 nRes = (sal_uInt16) p->nLong; in ImpGetUShort()
74 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXUINT; in ImpGetUShort()
77 nRes = (sal_uInt16) p->nULong; in ImpGetUShort()
82 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXUINT; in ImpGetUShort()
86 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = 0; in ImpGetUShort()
89 nRes = (sal_uInt16) p->nInt64; in ImpGetUShort()
94 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXUINT; in ImpGetUShort()
97 nRes = (sal_uInt16) p->uInt64; in ImpGetUShort()
102 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXUINT; in ImpGetUShort()
106 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = 0; in ImpGetUShort()
109 nRes = (sal_uInt16) ( p->nSingle + 0.5 ); in ImpGetUShort()
137 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXUINT; in ImpGetUShort()
141 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = 0; in ImpGetUShort()
144 nRes = (sal_uInt16) ( dVal + 0.5 ); in ImpGetUShort()
151 nRes = 0; in ImpGetUShort()
157 nRes = 0; in ImpGetUShort()
160 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXUINT; in ImpGetUShort()
164 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = 0; in ImpGetUShort()
167 nRes = (sal_uInt16) ( d + 0.5 ); in ImpGetUShort()
174 nRes = pVal->GetUShort(); in ImpGetUShort()
177 SbxBase::SetError( SbxERR_NO_OBJECT ); nRes = 0; in ImpGetUShort()
183 nRes = *p->pByte; break; in ImpGetUShort()
186 nRes = *p->pUShort; break; in ImpGetUShort()
217 SbxBase::SetError( SbxERR_CONVERSION ); nRes = 0; in ImpGetUShort()
219 return nRes; in ImpGetUShort()