Lines Matching refs:nRes
33 sal_Int32 nRes; in ImpGetLong() local
40 nRes = 0; break; in ImpGetLong()
42 nRes = p->nChar; break; in ImpGetLong()
44 nRes = p->nByte; break; in ImpGetLong()
47 nRes = p->nInteger; break; in ImpGetLong()
50 nRes = p->nUShort; break; in ImpGetLong()
52 nRes = p->nLong; break; in ImpGetLong()
56 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXLNG; in ImpGetLong()
59 nRes = (sal_Int32) p->nULong; in ImpGetLong()
64 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXLNG; in ImpGetLong()
68 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMINLNG; in ImpGetLong()
71 nRes = (sal_Int32) ImpRound( p->nSingle ); in ImpGetLong()
105 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXLNG; in ImpGetLong()
109 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMINLNG; in ImpGetLong()
112 nRes = (sal_Int32) ImpRound( dVal ); in ImpGetLong()
119 nRes = 0; in ImpGetLong()
125 nRes = 0; in ImpGetLong()
128 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXLNG; in ImpGetLong()
132 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMINLNG; in ImpGetLong()
135 nRes = (sal_Int32) ImpRound( d ); in ImpGetLong()
142 nRes = pVal->GetLong(); in ImpGetLong()
145 SbxBase::SetError( SbxERR_NO_OBJECT ); nRes = 0; in ImpGetLong()
151 nRes = *p->pChar; break; in ImpGetLong()
153 nRes = *p->pByte; break; in ImpGetLong()
156 nRes = *p->pInteger; break; in ImpGetLong()
158 nRes = *p->pLong; break; in ImpGetLong()
185 SbxBase::SetError( SbxERR_CONVERSION ); nRes = 0; in ImpGetLong()
187 return nRes; in ImpGetLong()