codhandler/codeng/src/CodEngBase.cpp
branchRCL_3
changeset 34 220a17280356
parent 27 6297cdf66332
child 46 30342f40acbf
equal deleted inserted replaced
32:ea4b2e4f7cac 34:220a17280356
  1892 
  1892 
  1893         TBool contentTypeMisMatch ( ETrue );
  1893         TBool contentTypeMisMatch ( ETrue );
  1894         for ( TInt i = 0; i < (*iData)[iData->ActiveDownload()]->Types().MdcaCount(); i++ )
  1894         for ( TInt i = 0; i < (*iData)[iData->ActiveDownload()]->Types().MdcaCount(); i++ )
  1895             {
  1895             {
  1896             const TDataType& type( (*iData)[iData->ActiveDownload()]->Types().MdcaPoint( i ) );
  1896             const TDataType& type( (*iData)[iData->ActiveDownload()]->Types().MdcaPoint( i ) );
  1897             if( ( aType.Find (type.Des8()) != KErrNotFound ) || 
  1897             if((aType.Find (type.Des8()) != KErrNotFound) || iDocHandler->CanOpenL(TDataType(aType)) || 
  1898                             ( (type.Des8().Find(KOma1DrmMessageContentType)!= KErrNotFound) && (aType.Find(KOma1DcfContentType)!= KErrNotFound )  ))             
  1898                             ( (type.Des8().Find(KOma1DrmMessageContentType)!= KErrNotFound) && (aType.Find(KOma1DcfContentType)!= KErrNotFound )  ))             
  1899                 {
  1899                 {
  1900                 contentTypeMisMatch = EFalse;
  1900                 contentTypeMisMatch = EFalse;
  1901                 break;
  1901                 break;
  1902                 }                
  1902                 }