summaryrefslogtreecommitdiff
path: root/extensions/workben/testpgp.cxx
diff options
context:
space:
mode:
authorKenneth Venken <kenneth.venken@gmail.com>2010-10-15 18:15:35 +0100
committerMichael Meeks <michael.meeks@novell.com>2010-10-15 18:15:35 +0100
commit394235bba1f7c474c9655f929f4fe27a550aba45 (patch)
tree266bd52b9f0b82dc5b21c4c7a9d829fb1ff87003 /extensions/workben/testpgp.cxx
parent7d4ffef8b74cd9ac2959006bac8d5c582b313e61 (diff)
SAL_N_ELEMENTS changes for components
Diffstat (limited to 'extensions/workben/testpgp.cxx')
-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)
{