equal
deleted
inserted
replaced
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(); |