widgets/widgetapp/src/WidgetUiObserver.cpp
branchRCL_3
changeset 58 220a17280356
parent 37 cb62a4f66ebe
child 92 e1bea15f9a39
equal deleted inserted replaced
46:ea4b2e4f7cac 58:220a17280356
   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         }