browserutilities/downloadmgr/DownloadMgrUiLib/Src/CDownloadUtils.cpp
branchRCL_3
changeset 37 ac77f89b1d9e
parent 25 0ed94ceaa377
child 40 8bfb9186a8b8
equal deleted inserted replaced
36:c711bdda59f4 37:ac77f89b1d9e
   471 
   471 
   472 	  CleanupStack::PopAndDestroy(3); //fs, fileName, buffer
   472 	  CleanupStack::PopAndDestroy(3); //fs, fileName, buffer
   473     
   473     
   474     if (ret == KErrNone &&
   474     if (ret == KErrNone &&
   475         (dataType.iConfidence == CApaDataRecognizerType::ECertain) ||
   475         (dataType.iConfidence == CApaDataRecognizerType::ECertain) ||
   476         (dataType.iConfidence == CApaDataRecognizerType::EProbable))
   476         (dataType.iConfidence == CApaDataRecognizerType::EProbable) ||(dataType.iConfidence == CApaDataRecognizerType::EPossible))
   477         {
   477         {
   478         // If the file type was found, try to match it to a known file type
   478         // If the file type was found, try to match it to a known file type
   479         TPtrC8 mimeTypePtr = dataType.iDataType.Des8();
   479         TPtrC8 mimeTypePtr = dataType.iDataType.Des8();
   480         TInt len = mimeTypePtr.Length() + 1;
   480         TInt len = mimeTypePtr.Length() + 1;
   481         aContentTypeString = new(ELeave) TUint8 [len];
   481         aContentTypeString = new(ELeave) TUint8 [len];