summaryrefslogtreecommitdiff
path: root/basic/source/runtime/stdobj.cxx
diff options
context:
space:
mode:
authorKayo Hamid <revol.code@yahoo.com>2010-10-14 21:14:52 +0100
committerMichael Meeks <michael.meeks@novell.com>2010-10-14 21:15:24 +0100
commitb7c82daa28526c566047e158ab2ace522fc442dc (patch)
treec71f33ee622add8de9013a170a7463ed564ad6e8 /basic/source/runtime/stdobj.cxx
parent1b0c6da1c3bcc6a9c1412d221d029885f9998fa1 (diff)
Switch to use SAL_N_ELEMENTS macro, everywhere
Diffstat (limited to 'basic/source/runtime/stdobj.cxx')
-rw-r--r--basic/source/runtime/stdobj.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/stdobj.cxx b/basic/source/runtime/stdobj.cxx
index 08554b4d9258..8c85df4f383e 100644
--- a/basic/source/runtime/stdobj.cxx
+++ b/basic/source/runtime/stdobj.cxx
@@ -85,7 +85,7 @@ friend class VBABlackListQuery;
VBABlacklist()
{
const char* list[] = { "Red" };
- sal_Int32 nSize = sizeof( list ) / sizeof( list[ 0 ] );
+ sal_Int32 nSize = SAL_N_ELEMENTS( list );
for ( sal_Int32 index = 0; index < nSize; ++index )
{
mBlackList[ String::CreateFromAscii( list[ index ] ).ToLowerAscii() ] = true;