Lines Matching refs:pnDecRes
455 SbxDecimal* pnDecRes; in ImpGetDecimal() local
460 pnDecRes = new SbxDecimal( *p->pDecimal ); in ImpGetDecimal()
461 pnDecRes->addRef(); in ImpGetDecimal()
462 return pnDecRes; in ImpGetDecimal()
464 pnDecRes = new SbxDecimal(); in ImpGetDecimal()
465 pnDecRes->addRef(); in ImpGetDecimal()
473 pnDecRes->setShort( 0 ); break; in ImpGetDecimal()
475 pnDecRes->setChar( p->nChar ); break; in ImpGetDecimal()
477 pnDecRes->setByte( p->nByte ); break; in ImpGetDecimal()
480 pnDecRes->setInt( p->nInteger ); break; in ImpGetDecimal()
483 pnDecRes->setUShort( p->nUShort ); break; in ImpGetDecimal()
485 pnDecRes->setLong( p->nLong ); break; in ImpGetDecimal()
487 pnDecRes->setULong( p->nULong ); break; in ImpGetDecimal()
489 if( !pnDecRes->setSingle( p->nSingle ) ) in ImpGetDecimal()
495 pnDecRes->setDouble( d ); in ImpGetDecimal()
501 pnDecRes->setDouble( d ); in ImpGetDecimal()
520 if( !pnDecRes->setDouble( dVal ) ) in ImpGetDecimal()
527 pnDecRes->setString( p->pOUString ); break; in ImpGetDecimal()
532 pnDecRes->setDecimal( pVal->GetDecimal() ); in ImpGetDecimal()
536 pnDecRes->setShort( 0 ); in ImpGetDecimal()
542 pnDecRes->setChar( *p->pChar ); break; in ImpGetDecimal()
544 pnDecRes->setByte( *p->pByte ); break; in ImpGetDecimal()
547 pnDecRes->setInt( *p->pInteger ); break; in ImpGetDecimal()
549 pnDecRes->setLong( *p->pLong ); break; in ImpGetDecimal()
551 pnDecRes->setULong( *p->pULong ); break; in ImpGetDecimal()
554 pnDecRes->setUShort( *p->pUShort ); break; in ImpGetDecimal()
576 SbxBase::SetError( SbxERR_CONVERSION ); pnDecRes->setShort( 0 ); in ImpGetDecimal()
578 return pnDecRes; in ImpGetDecimal()