LibreOffice Module basic (master) 1
|
#include <sal/config.h>
#include <comphelper/errcode.hxx>
#include <basic/sberrors.hxx>
#include "sbxconv.hxx"
#include <rtlproto.hxx>
Go to the source code of this file.
Functions | |
float | ImpGetSingle (const SbxValues *p) |
void | ImpPutSingle (SbxValues *p, float n) |
float ImpGetSingle | ( | const SbxValues * | p | ) |
Definition at line 27 of file sbxsng.cxx.
References d, ERRCODE_BASIC_CONVERSION, ERRCODE_BASIC_MATH_OVERFLOW, ERRCODE_BASIC_NO_OBJECT, ERRCODE_NONE, SbxValues::eType, SbxValue::GetSingle(), ImpCurrencyToDouble(), ImpScan(), LibreOffice6FloatingPointMode(), SbxValues::nDouble, SbxValues::nInt64, p, SbxBYREF, SbxBYTE, SbxCHAR, SbxCURRENCY, SbxDATE, SbxDECIMAL, SbxDOUBLE, SbxEMPTY, SbxERROR, SbxINTEGER, SbxLONG, SbxLPSTR, SbxMAXSNG, SbxMAXSNG2, SbxMINSNG, SbxMINSNG2, SbxNULL, SbxOBJECT, SbxSALINT64, SbxSALUINT64, SbxSINGLE, SbxSTRING, SbxULONG, SbxUSHORT, SbxBase::SetError(), start, t, and SbxValues::uInt64.
Referenced by SbxValue::Get(), ImpPutString(), and SbxValue::ScanNumIntnl().
void ImpPutSingle | ( | SbxValues * | p, |
float | n | ||
) |
Definition at line 173 of file sbxsng.cxx.
References d, ERRCODE_BASIC_CONVERSION, ERRCODE_BASIC_MATH_OVERFLOW, ERRCODE_BASIC_NO_OBJECT, SbxValues::eType, ImpCreateDecimal(), ImpCvtNum(), ImpDoubleToByte(), ImpDoubleToChar(), ImpDoubleToCurrency(), ImpDoubleToInteger(), ImpDoubleToLong(), ImpDoubleToSalInt64(), ImpDoubleToSalUInt64(), ImpDoubleToULong(), ImpDoubleToUShort(), n, p, SbxValues::pByte, SbxValues::pChar, SbxValues::pInteger, SbxValues::pLong, SbxValues::pnInt64, SbxValues::puInt64, SbxValues::pULong, SbxValues::pUShort, SbxValue::PutSingle(), SbxBYREF, SbxBYTE, SbxCHAR, SbxCURRENCY, SbxDATE, SbxDECIMAL, SbxDOUBLE, SbxERROR, SbxINTEGER, SbxLONG, SbxLPSTR, SbxMAXCURR, SbxMINCURR, SbxOBJECT, SbxSALINT64, SbxSALUINT64, SbxSINGLE, SbxSTRING, SbxULONG, SbxUSHORT, SbxBase::SetError(), SbxDecimal::setSingle(), and start.
Referenced by ImpGetString(), and SbxValue::Put().