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 /embeddedobj | |
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 'embeddedobj')
-rw-r--r-- | embeddedobj/source/msole/oleembed.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embeddedobj/source/msole/oleembed.cxx b/embeddedobj/source/msole/oleembed.cxx index da9b17d8a141..d06969925109 100644 --- a/embeddedobj/source/msole/oleembed.cxx +++ b/embeddedobj/source/msole/oleembed.cxx @@ -706,7 +706,7 @@ namespace }; bool bCopied = false; - for (size_t i = 0; i < SAL_N_ELEMENTS(aStreamNames) && !bCopied; ++i) + for (size_t i = 0; i < std::size(aStreamNames) && !bCopied; ++i) { uno::Reference<io::XStream> xEmbeddedFile; try |