contextengine/src/contextengineao.cpp
branchRCL_3
changeset 3 6752808b2036
parent 0 c53acadfccc6
--- a/contextengine/src/contextengineao.cpp	Tue Feb 02 00:24:33 2010 +0200
+++ b/contextengine/src/contextengineao.cpp	Fri Feb 19 23:14:48 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 );
         }