diff -r b73a2e62868f -r 6752808b2036 harvester/common/src/propertywatcher.cpp --- 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];