Switch to use SAL_N_ELEMENTS macro, everywhere

This commit is contained in:
Kayo Hamid
2010-10-14 21:14:52 +01:00
committed by Michael Meeks
parent 1b0c6da1c3
commit b7c82daa28
64 changed files with 142 additions and 148 deletions

View File

@@ -416,7 +416,7 @@ EventInfoHash& getEventTransInfo()
{
rtl::OUString sEventInfo = MAP_CHAR_LEN("");
TranslatePropMap* pTransProp = aTranslatePropMap_Impl;
int nCount = sizeof(aTranslatePropMap_Impl) / sizeof(aTranslatePropMap_Impl[0]);
int nCount = SAL_N_ELEMENTS(aTranslatePropMap_Impl);
int i = 0;
while (i < nCount)