diff -r 4740b34b83ce -r f56ec6ce2732 mmappcomponents/harvester/filehandler/src/mpxharvesterdbmanager.cpp --- a/mmappcomponents/harvester/filehandler/src/mpxharvesterdbmanager.cpp Tue Apr 27 17:09:22 2010 +0300 +++ b/mmappcomponents/harvester/filehandler/src/mpxharvesterdbmanager.cpp Tue May 11 16:40:32 2010 +0300 @@ -211,6 +211,7 @@ TInt index = FindDatabaseIndex ( aDrive ); if ( index == KErrNotFound ) { + index = iDatabases.Count(); db = CMPXHarvesterDB::NewL( aDrive, iFs ); CleanupStack::PushL( db ); iDatabases.AppendL( db ); @@ -407,8 +408,7 @@ void CMPXHarvesterDatabaseManager::RecreateDatabases() { MPX_DEBUG1("CMPXHarvesterDatabaseManager::RecreateDatabases <--"); - TInt count( iDatabases.Count() ); - for( TInt i=0; i