equal
deleted
inserted
replaced
466 TInt len = mimeTypePtr.Length() + 1; |
466 TInt len = mimeTypePtr.Length() + 1; |
467 HBufC* contentTypeString = HBufC::NewLC( len );; |
467 HBufC* contentTypeString = HBufC::NewLC( len );; |
468 |
468 |
469 if ( ret == KErrNone && |
469 if ( ret == KErrNone && |
470 ( dataType.iConfidence == CApaDataRecognizerType::ECertain ) || |
470 ( dataType.iConfidence == CApaDataRecognizerType::ECertain ) || |
471 ( dataType.iConfidence == CApaDataRecognizerType::EProbable ) ) |
471 ( dataType.iConfidence == CApaDataRecognizerType::EProbable) || |
|
472 ( dataType.iConfidence == CApaDataRecognizerType::EPossible) ) |
472 { |
473 { |
473 // If the file type was found, try to match it to a known file type |
474 // If the file type was found, try to match it to a known file type |
474 contentTypeString->Des().Copy( mimeTypePtr ); |
475 contentTypeString->Des().Copy( mimeTypePtr ); |
475 contentTypeString->Des().ZeroTerminate(); |
476 contentTypeString->Des().ZeroTerminate(); |
476 } |
477 } |