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