From 394235bba1f7c474c9655f929f4fe27a550aba45 Mon Sep 17 00:00:00 2001 From: Kenneth Venken Date: Fri, 15 Oct 2010 18:15:35 +0100 Subject: SAL_N_ELEMENTS changes for components --- extensions/workben/testpgp.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'extensions/workben') 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) { -- cgit v1.2.3