summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorAdam Seskunas <adamseskunas@gmail.com>2023-08-31 14:14:03 -0700
committerHossein <hossein@libreoffice.org>2023-09-04 15:50:51 +0200
commitb1b002c293ddf38be125dc9083f41eb27452c450 (patch)
tree3398f76f706116b44d666c8870db96e26737f75d /formula
parent4d8cff696cfdb23733b0e91348b28a83f1c3bedc (diff)
tdf#147021 use std::size instead of SAL_N_ELEMENTS
Change-Id: Ibc6c83f950890ac9b7a754cc49973736fa81dcb8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156364 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
Diffstat (limited to 'formula')
-rw-r--r--formula/source/ui/dlg/parawin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/formula/source/ui/dlg/parawin.cxx b/formula/source/ui/dlg/parawin.cxx
index f09c0e51ec01..bcc1c2d1a962 100644
--- a/formula/source/ui/dlg/parawin.cxx
+++ b/formula/source/ui/dlg/parawin.cxx
@@ -496,7 +496,7 @@ IMPL_LINK( ParaWin, GetFxHdl, ArgInput&, rPtr, void )
{
sal_uInt16 nOffset = GetSliderPos();
nEdFocus=NOT_FOUND;
- for (size_t nPos=0; nPos < SAL_N_ELEMENTS(aArgInput); ++nPos)
+ for (size_t nPos=0; nPos < std::size(aArgInput); ++nPos)
{
if(&rPtr == &aArgInput[nPos])
{