mtpdataproviders/mtpimagedp/src/cmtpimagedpmoveobject.cpp
changeset 17 aabe5387f5ce
parent 0 d0791faffa3f
child 29 3ae5cb0b4c02
equal deleted inserted replaced
0:d0791faffa3f 17:aabe5387f5ce
   279     TDriveNumber drive(static_cast<TDriveNumber>(iFramework.StorageMgr().DriveNumber(iStorageId)));
   279     TDriveNumber drive(static_cast<TDriveNumber>(iFramework.StorageMgr().DriveNumber(iStorageId)));
   280     User::LeaveIfError(drive);
   280     User::LeaveIfError(drive);
   281     TVolumeInfo volumeInfo;
   281     TVolumeInfo volumeInfo;
   282     User::LeaveIfError(iFramework.Fs().Volume(volumeInfo, drive));
   282     User::LeaveIfError(iFramework.Fs().Volume(volumeInfo, drive));
   283     
   283     
   284     if(volumeInfo.iFree < fileEntry.iSize)
   284     if(volumeInfo.iFree < fileEntry.FileSize())
   285         {
   285         {
   286         result = EMTPRespCodeStoreFull;
   286         result = EMTPRespCodeStoreFull;
   287         }
   287         }
   288     else if (BaflUtils::FileExists(iFramework.Fs(), aNewName))			
   288     else if (BaflUtils::FileExists(iFramework.Fs(), aNewName))			
   289         {
   289         {