21#include <com/sun/star/lang/Locale.hpp>
29#include <osl/mutex.hxx>
31#include <osl/diagnose.h>
41 :m_xORB(
std::move(_xORB))
51 Any aReturn = ::cppu::queryInterface(_rType,
52 static_cast< XInitialization*
>(
this),
53 static_cast< XServiceInfo*
>(
this)
56 if (!aReturn.hasValue())
64 ::osl::MutexGuard aGuard( getSharedMutex() );
67 "SvNumberFormatsSupplierServiceObject::initialize : already initialized !");
80 for (
const Any& rArg : _rArguments)
82 if (rArg.getValueType().equals(aExpectedArgType))
84 css::lang::Locale aLocale;
91 OSL_FAIL(
"SvNumberFormatsSupplierServiceObject::initialize : unknown argument !");
103 return "com.sun.star.uno.util.numbers.SvNumberFormatsSupplierServiceObject";
113 return {
"com.sun.star.util.NumberFormatsSupplier" };
118 ::osl::MutexGuard aGuard( getSharedMutex() );
125 ::osl::MutexGuard aGuard( getSharedMutex() );
132 sal_Int64 nReturn = SvNumberFormatsSupplierObj::getSomething( aIdentifier );
153extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
155 css::uno::Sequence<css::uno::Any>
const &)
const css::lang::Locale & getLocale(bool bResolveSystem=true) const
static LanguageType convertToLanguageType(const css::lang::Locale &rLocale, bool bResolveSystem=true)
const LanguageTag & getLanguageTag() const
const LocaleDataWrapper & GetLocaleData() const
css::uno::Type const & get()
virtual css::uno::Any SAL_CALL queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
#define DBG_ASSERT(sCon, aError)
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_uno_util_numbers_SvNumberFormatsSupplierServiceObject_get_implementation(css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
@ NF_EVALDATEFORMAT_FORMAT_INTL
First try the DateFormat from the date format passed.