harvester/common/src/propertywatcher.cpp
branchRCL_3
changeset 8 6752808b2036
parent 0 c53acadfccc6
child 15 3cebc1a84278
--- a/harvester/common/src/propertywatcher.cpp	Tue Feb 02 00:24:33 2010 +0200
+++ b/harvester/common/src/propertywatcher.cpp	Fri Feb 19 23:14:48 2010 +0200
@@ -203,7 +203,8 @@
 	
     TInt listenerIndex ( KErrNotFound );
     
-    for ( TInt i = iListenersArray.Count(); --i >= 0; )
+    const TInt count( iListenersArray.Count() );
+    for ( TInt i = count; --i >= 0; )
     	{
     	CListener& listenerItem = *iListenersArray[i];