summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Chenery <simon_chenery@yahoo.com>2025-06-14 09:37:56 +0200
committerDavid Gilbert <freedesktop@treblig.org>2025-07-05 19:42:45 +0200
commitd76f736a89eb2a36b342a1a41ea6ced26d87692e (patch)
tree4570ea48c15b027489d5022658400c0d9d9ff54d
parent024aafe4cbf9543ba86a665890fcdbd8f1df0017 (diff)
tdf#147021 avoid use of SAL_N_ELEMENTS macro in optload.cxxHEADmaster
Change-Id: Iebde590abbdfefbdb520ea006c0727c8d9b815e3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186488 Tested-by: Jenkins Reviewed-by: David Gilbert <freedesktop@treblig.org>
-rw-r--r--sw/source/ui/config/optload.cxx2
1 files changed, 1 insertions, 1 deletions
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)