equal
deleted
inserted
replaced
201 { |
201 { |
202 WRITELOG( "CPropertyWatcher::FindListener() - begin" ); |
202 WRITELOG( "CPropertyWatcher::FindListener() - begin" ); |
203 |
203 |
204 TInt listenerIndex ( KErrNotFound ); |
204 TInt listenerIndex ( KErrNotFound ); |
205 |
205 |
206 for ( TInt i = iListenersArray.Count(); --i >= 0; ) |
206 const TInt count( iListenersArray.Count() ); |
|
207 for ( TInt i = count; --i >= 0; ) |
207 { |
208 { |
208 CListener& listenerItem = *iListenersArray[i]; |
209 CListener& listenerItem = *iListenersArray[i]; |
209 |
210 |
210 if ( aKey == listenerItem.ObservedKey() && |
211 if ( aKey == listenerItem.ObservedKey() && |
211 aPropertyCategory == listenerItem.ObservedCategory() ) |
212 aPropertyCategory == listenerItem.ObservedCategory() ) |