diff -r 646a02f170b9 -r 3cebc1a84278 harvester/common/src/harvestercenreputil.cpp --- a/harvester/common/src/harvestercenreputil.cpp Fri Mar 12 15:44:28 2010 +0200 +++ b/harvester/common/src/harvestercenreputil.cpp Mon Mar 15 12:42:24 2010 +0200 @@ -97,8 +97,7 @@ TInt ret = repo->FindL( KIgnorePathPartialKey, KSearchMask, ignoredKeys ); TBuf path; - const TInt count = ignoredKeys.Count(); - for( TInt i=0;i=0; i-- ) { const TInt error( repo->Get( ignoredKeys[i], path ) ); if( error != KErrNone ) @@ -191,7 +190,7 @@ TBuf path; const TInt count = scanPathKeys.Count(); aPaths.ReserveL( count ); - for( TInt i = 0; i < count; i++ ) + for( TInt i = count - 1; i >=0; i-- ) { const TInt error( repo->Get( scanPathKeys[i], path ) ); if( error != KErrNone ) @@ -215,8 +214,7 @@ repo->FindL( aPartialKey, KSearchMask, scanPathKeys ); TBuf path; - const TInt count = scanPathKeys.Count(); - for( TInt i = 0; i < count; i++ ) + for( TInt i = scanPathKeys.Count() - 1; i >=0; i-- ) { const TInt error( repo->Get( scanPathKeys[i], path ) ); if( error != KErrNone )