diff options
author | psidiumcode <lbrmk.510@rgn4d.neomailbox.ch> | 2022-03-15 21:43:46 +0200 |
---|---|---|
committer | Hossein <hossein@libreoffice.org> | 2022-03-16 09:13:23 +0100 |
commit | 5b320aa058504becae6ac6746926b481b326a24d (patch) | |
tree | d90a59ac1ca2d7776e6016744f3d60cbb245d716 /lotuswordpro | |
parent | 47d0a7f4fb08b994cfea83c5deba085d27f75ac2 (diff) |
tdf#147021 Use std::size() instead of SAL_N_ELEMENTS() macro
Change-Id: Ia711e939f769c6a2257bd1fb3607b315f931a0ca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131634
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpsilverbullet.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpsilverbullet.hxx b/lotuswordpro/source/filter/lwpsilverbullet.hxx index 5c2f51247b31..8c68a960eedc 100644 --- a/lotuswordpro/source/filter/lwpsilverbullet.hxx +++ b/lotuswordpro/source/filter/lwpsilverbullet.hxx @@ -149,7 +149,7 @@ private: inline const OUString& LwpSilverBullet::GetBulletStyleName() const { return m_strStyleName; } inline bool LwpSilverBullet::IsLesserLevel(sal_uInt16 nPos) { - if (nPos < SAL_N_ELEMENTS(m_pResetPositionFlags)) + if (nPos < std::size(m_pResetPositionFlags)) return ((m_pResetPositionFlags[nPos] & LESSERLEVEL) != 0); return false; } |