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:
Arnaud VERSINI 2024-05-26 16:49:55 +02:00 committed by Arnaud Versini
parent 20ee4ecfeb
commit fb30ee5a63
3 changed files with 3 additions and 3 deletions

View file

@ -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()
{

View file

@ -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()
{

View file

@ -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()
{