LibreOffice Module basic (master) 1
Functions
sbxcurr.cxx File Reference
#include <rtl/ustrbuf.hxx>
#include <basic/sberrors.hxx>
#include <basic/sbxvar.hxx>
#include <o3tl/string_view.hxx>
#include "sbxconv.hxx"
Include dependency graph for sbxcurr.cxx:

Go to the source code of this file.

Functions

static OUString ImpCurrencyToString (sal_Int64 rVal)
 
static sal_Int64 ImpStringToCurrency (std::u16string_view rStr)
 
sal_Int64 ImpGetCurrency (const SbxValues *p)
 
void ImpPutCurrency (SbxValues *p, const sal_Int64 r)
 

Function Documentation

◆ ImpCurrencyToString()

static OUString ImpCurrencyToString ( sal_Int64  rVal)
static

Definition at line 28 of file sbxcurr.cxx.

References aBuf.

Referenced by ImpPutCurrency().

◆ ImpGetCurrency()

sal_Int64 ImpGetCurrency ( const SbxValues p)

◆ ImpPutCurrency()

void ImpPutCurrency ( SbxValues p,
const sal_Int64  r 
)

◆ ImpStringToCurrency()

static sal_Int64 ImpStringToCurrency ( std::u16string_view  rStr)
static

Definition at line 89 of file sbxcurr.cxx.

References ERRCODE_BASIC_CONVERSION, p, result, SbxBase::SetError(), o3tl::toInt64(), and o3tl::trim().

Referenced by ImpGetCurrency().