sw/source/ui/config/optload.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d76f736a89eb2a36b342a1a41ea6ced26d87692e Author: Simon Chenery <simon_chen...@yahoo.com> AuthorDate: Sat Jun 14 09:37:56 2025 +0200 Commit: David Gilbert <freedesk...@treblig.org> CommitDate: Sat Jul 5 19:42:45 2025 +0200 tdf#147021 avoid use of SAL_N_ELEMENTS macro in optload.cxx Change-Id: Iebde590abbdfefbdb520ea006c0727c8d9b815e3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186488 Tested-by: Jenkins Reviewed-by: David Gilbert <freedesk...@treblig.org> diff --git a/sw/source/ui/config/optload.cxx b/sw/source/ui/config/optload.cxx index e4336bba3fed..0d5e2d727297 100644 --- a/sw/source/ui/config/optload.cxx +++ b/sw/source/ui/config/optload.cxx @@ -488,7 +488,7 @@ static bool lcl_isPropertyReadOnly(const SwCapObjType eType, const CapConfigProp sal_uInt32 SwFieldUnitTable::Count() { - return SAL_N_ELEMENTS(STR_ARR_METRIC); + return std::size(STR_ARR_METRIC); } OUString SwFieldUnitTable::GetString(sal_uInt32 nPos)