diff options
author | OmkarAcharekar <omkaracharekar12@gmail.com> | 2022-10-18 02:15:51 +0530 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2022-10-18 14:24:06 +0200 |
commit | 75e6ffe31d74ac36d8864b018008d4208a7efe73 (patch) | |
tree | 02d5d3c15e381e072bb748a4cc988dc9c08af7d0 /filter/source/config/cache | |
parent | 0bf8a781ffec13b4fbcb96a2e9349b423a92cb1d (diff) |
tdf#147021 Use std::size() instead of SAL_N_ELEMENTS() macro
Change-Id: I35c883a1b05a797e83a41698fa205796e681d7c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141482
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'filter/source/config/cache')
-rw-r--r-- | filter/source/config/cache/typedetection.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx index 5acaf88ed5fe..0aaa2ffa6c3d 100644 --- a/filter/source/config/cache/typedetection.cxx +++ b/filter/source/config/cache/typedetection.cxx @@ -284,7 +284,7 @@ int getFlatTypeRank(std::u16string_view rType) "math_MathType_3x", // MathType equation embedded in Word doc. }; - size_t n = SAL_N_ELEMENTS(ranks); + size_t n = std::size(ranks); for (size_t i = 0; i < n; ++i) { |