summaryrefslogtreecommitdiff
path: root/sal/qa/osl
diff options
context:
space:
mode:
authorKenneth Venken <kenneth.venken@gmail.com>2010-10-18 19:47:47 +0100
committerMichael Meeks <michael.meeks@novell.com>2010-10-18 19:47:47 +0100
commit5ecab7a09f86843667520dafb158d569715ea214 (patch)
tree6f5d36081c7a4981a5553e83beecd4e3ee4704aa /sal/qa/osl
parenta8ac6c40db8f3b0ba1693c6e7135fb559e56be2c (diff)
cleanup to use SAL_N_ELEMENTS
Diffstat (limited to 'sal/qa/osl')
-rw-r--r--sal/qa/osl/process/osl_process.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sal/qa/osl/process/osl_process.cxx b/sal/qa/osl/process/osl_process.cxx
index 35b96bdda..656723015 100644
--- a/sal/qa/osl/process/osl_process.cxx
+++ b/sal/qa/osl/process/osl_process.cxx
@@ -40,6 +40,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <osl/module.hxx>
+#include <sal/macros.h>
#if ( defined WNT ) // Windows
#include <tools/prewin.h>
@@ -569,7 +570,7 @@ public:
NULL,
suCWD.pData,
child_env,
- sizeof(child_env)/sizeof(child_env[0]),
+ SAL_N_ELEMENTS(child_env),
&process);
CPPUNIT_ASSERT_MESSAGE