LibreOffice Module svl (master) 1
|
Load a native number service wrapper only if it's needed. More...
#include <ondemand.hxx>
Public Member Functions | |
OnDemandNativeNumberWrapper () | |
void | init (const css::uno::Reference< css::uno::XComponentContext > &rxContext) |
NativeNumberWrapper * | get () const |
Private Attributes | |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
std::optional< NativeNumberWrapper > | moNativeNumber |
Load a native number service wrapper only if it's needed.
SvNumberformatter uses it.
@ATTENTION If the default ctor is used the init() method MUST be called before accessing the native number supplier.
Definition at line 260 of file ondemand.hxx.
|
inline |
Definition at line 266 of file ondemand.hxx.
|
inline |
Definition at line 274 of file ondemand.hxx.
References m_xContext, and moNativeNumber.
Referenced by SvNumberFormatter::GetNatNum().
|
inline |
Definition at line 268 of file ondemand.hxx.
References m_xContext, and moNativeNumber.
Referenced by SvNumberFormatter::ImpConstruct().
|
private |
Definition at line 262 of file ondemand.hxx.
|
mutableprivate |
Definition at line 263 of file ondemand.hxx.