diff -r c53acadfccc6 -r acef663c1218 harvester/monitorplugins/fileplugin/src/FolderRenamer.cpp --- a/harvester/monitorplugins/fileplugin/src/FolderRenamer.cpp Mon Jan 18 20:34:07 2010 +0200 +++ b/harvester/monitorplugins/fileplugin/src/FolderRenamer.cpp Tue Jan 26 12:13:20 2010 +0200 @@ -71,7 +71,7 @@ void CRenameItem::HandleFileEventsL(CFileEventHandlerAO &aCFileEventHandlerAO) { - TInt count = iFileEvents.Count(); + const TInt count = iFileEvents.Count(); for (TInt i = 0; i < count; i++) { aCFileEventHandlerAO.HandleNotificationL(* (iFileEvents[i])); @@ -184,7 +184,7 @@ void CFolderRenamer::RenameL(const TDesC &aOldName, const TDesC &aNewName) { //There comes multiple events for single rename, drop these - TInt count = iRenamedFolders.Count(); + const TInt count = iRenamedFolders.Count(); for (TInt i = 0; i < count; i++) { if ( iRenamedFolders[i]->OldName().CompareF(aOldName) == 0 &&