summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2010-10-19 17:01:58 +0100
committerNoel Power <noel.power@novell.com>2010-10-19 17:01:58 +0100
commita472ff20aad64f386c27fdaa0152719e8097bc0d (patch)
treebee701853d867e90c2e9b9643e55c097cf193c50
parent85a262b0191750d2837929d326d819eb92430e55 (diff)
fix bogus SAL_N_ELEMENTS usage
-rw-r--r--basctl/source/basicide/doceventnotifier.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/doceventnotifier.cxx b/basctl/source/basicide/doceventnotifier.cxx
index 6335be557..8b80d5fd5 100644
--- a/basctl/source/basicide/doceventnotifier.cxx
+++ b/basctl/source/basicide/doceventnotifier.cxx
@@ -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;