tdf#147021 : use std::size in scaddins
Change-Id: I8a17b5a782aedd8784595c7febbacc24921bce1d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169357 Tested-by: Jenkins Reviewed-by: Arnaud Versini <arnaud.versini@pm.me>
This commit is contained in:
parent
20ee4ecfeb
commit
fb30ee5a63
3 changed files with 3 additions and 3 deletions
|
@ -280,7 +280,7 @@ OUString SAL_CALL AnalysisAddIn::getDisplayCategoryName( const OUString& aProgra
|
|||
|
||||
static const char* pLang[] = { "de", "en" };
|
||||
static const char* pCoun[] = { "DE", "US" };
|
||||
const sal_uInt32 nNumOfLoc = SAL_N_ELEMENTS(pLang);
|
||||
constexpr sal_uInt32 nNumOfLoc = std::size(pLang);
|
||||
|
||||
void AnalysisAddIn::InitDefLocales()
|
||||
{
|
||||
|
|
|
@ -102,7 +102,7 @@ ScaDateAddIn::ScaDateAddIn()
|
|||
|
||||
static const char* pLang[] = { "de", "en" };
|
||||
static const char* pCoun[] = { "DE", "US" };
|
||||
const sal_uInt32 nNumOfLoc = SAL_N_ELEMENTS( pLang );
|
||||
constexpr sal_uInt32 nNumOfLoc = std::size( pLang );
|
||||
|
||||
void ScaDateAddIn::InitDefLocales()
|
||||
{
|
||||
|
|
|
@ -98,7 +98,7 @@ ScaPricingAddIn::~ScaPricingAddIn()
|
|||
|
||||
static const char* pLang[] = { "en" };
|
||||
static const char* pCoun[] = { "US" };
|
||||
const sal_uInt32 nNumOfLoc = SAL_N_ELEMENTS( pLang );
|
||||
constexpr sal_uInt32 nNumOfLoc = std::size( pLang );
|
||||
|
||||
void ScaPricingAddIn::InitDefLocales()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue