diff -r b73a2e62868f -r 6dfc5f825351 contextengine/src/contextengineao.cpp --- a/contextengine/src/contextengineao.cpp Tue Feb 02 00:24:33 2010 +0200 +++ b/contextengine/src/contextengineao.cpp Fri Mar 19 09:38:01 2010 +0200 @@ -131,7 +131,8 @@ { iMdESession = aSession; - for ( TInt i = 0; i < iPlugins.Count(); ++i ) + const TInt count( iPlugins.Count() ); + for ( TInt i = 0; i < count; ++i ) { iPlugins[i]->SetMdeSession( *aSession ); }