summaryrefslogtreecommitdiff
path: root/extensions/workben
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/workben')
-rw-r--r--extensions/workben/testpgp.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/workben/testpgp.cxx b/extensions/workben/testpgp.cxx
index 288ca8825507..84318ad6301c 100644
--- a/extensions/workben/testpgp.cxx
+++ b/extensions/workben/testpgp.cxx
@@ -756,8 +756,7 @@ int SAL_CALL main (int argc, char **argv)
S2U("mhu@rabbit")
};
- sal_Int32 nRecipients =
- sizeof(aRecipients) / sizeof(aRecipients[0]);
+ sal_Int32 nRecipients = SAL_N_ELEMENTS(aRecipients);
if (nOptions & OPTION_SIGN)
{