harvester/monitorplugins/fileplugin/src/FolderRenamer.cpp
changeset 1 acef663c1218
parent 0 c53acadfccc6
child 14 646a02f170b9
--- 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 &&