fix bogus SAL_N_ELEMENTS usage
This commit is contained in:
parent
64e6130b14
commit
9b04df1f77
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue