Switch to use SAL_N_ELEMENTS macro, everywhere
This commit is contained in:
committed by
Michael Meeks
parent
1b0c6da1c3
commit
b7c82daa28
@@ -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)
|
||||
|
Reference in New Issue
Block a user