fix bogus SAL_N_ELEMENTS usage

This commit is contained in:
Noel Power 2010-10-19 17:01:58 +01:00
parent 64e6130b14
commit 9b04df1f77

View file

@ -167,7 +167,7 @@ namespace basctl
{ "OnModeChanged", &DocumentEventListener::onDocumentModeChanged }
};
for ( size_t i=0; SAL_N_ELEMENTS( aEvents ); ++i )
for ( size_t i=0; i < SAL_N_ELEMENTS( aEvents ); ++i )
{
if ( !_rEvent.EventName.equalsAscii( aEvents[i].pEventName ) )
continue;