summaryrefslogtreecommitdiff
path: root/basctl
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
commit9b04df1f7722f468cc6c065f0d738ecddcd44152 (patch)
treebd3c77d9eac5c13f66bdebfb76005a7688639e9a /basctl
parent64e6130b14eff8754d248009fd528eb675e2e1f0 (diff)
fix bogus SAL_N_ELEMENTS usage
Diffstat (limited to 'basctl')
-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 86cf38223a5b..e69f542c618e 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;