[Libreoffice-commits] .: basctl/source
Noel Power
noelp at kemper.freedesktop.org
Tue Oct 19 08:03:05 PDT 2010
basctl/source/basicide/doceventnotifier.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a472ff20aad64f386c27fdaa0152719e8097bc0d
Author: Noel Power <noel.power at novell.com>
Date: Tue Oct 19 17:01:58 2010 +0100
fix bogus SAL_N_ELEMENTS usage
diff --git a/basctl/source/basicide/doceventnotifier.cxx b/basctl/source/basicide/doceventnotifier.cxx
index 6335be5..8b80d5f 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;
More information about the Libreoffice-commits
mailing list