phonebookui/Phonebook2/MMCExtension/src/CPmuCopyFromDriveCmd.cpp
branchRCL_3
changeset 18 d4f567ce2e7c
parent 17 2666d9724c76
equal deleted inserted replaced
17:2666d9724c76 18:d4f567ce2e7c
   400 // --------------------------------------------------------------------------
   400 // --------------------------------------------------------------------------
   401 // CPmuCopyFromMmcCmd::ContactsSavingFailed
   401 // CPmuCopyFromMmcCmd::ContactsSavingFailed
   402 // --------------------------------------------------------------------------
   402 // --------------------------------------------------------------------------
   403 //
   403 //
   404 void CPmuCopyFromMmcCmd::ContactsSavingFailed
   404 void CPmuCopyFromMmcCmd::ContactsSavingFailed
   405         ( MVPbkContactOperationBase& aOperation, TInt /*aError*/ )
   405         ( MVPbkContactOperationBase& aOperation, TInt aError )
   406     {
   406     {
   407     if ( &aOperation == iImportOperation )
   407     // Stop copying if the disk is full
       
   408     if ( aError == KErrDiskFull )
       
   409         {
       
   410         RunError( aError );
       
   411         }
       
   412     else if ( &aOperation == iImportOperation )
   408         {
   413         {
   409         delete iImportOperation;
   414         delete iImportOperation;
   410         iImportOperation = NULL;
   415         iImportOperation = NULL;
   411         iReadStream.Close();
   416         iReadStream.Close();
   412         IssueRequest();
   417         IssueRequest();