messagingappbase/msgmedia/src/MsgVideoInfo.cpp
changeset 44 36f374c67aa8
parent 23 238255e8b033
equal deleted inserted replaced
43:35b64624a9e7 44:36f374c67aa8
   120 // -----------------------------------------------------------------------------
   120 // -----------------------------------------------------------------------------
   121 // CMsgVideoInfo::ResolveVideoInfoL
   121 // CMsgVideoInfo::ResolveVideoInfoL
   122 // -----------------------------------------------------------------------------
   122 // -----------------------------------------------------------------------------
   123 void CMsgVideoInfo::ResolveVideoInfoL( RFile& aFile )
   123 void CMsgVideoInfo::ResolveVideoInfoL( RFile& aFile )
   124     {
   124     {
   125     CCoeEnv* env = CCoeEnv::Static();
       
   126     if ( !env )
       
   127         {
       
   128         User::Leave( KErrNotSupported );
       
   129         }
       
   130 
   125 
   131     CHXMetaDataUtility* dataUtil = CHXMetaDataUtility::NewL();
   126     CHXMetaDataUtility* dataUtil = CHXMetaDataUtility::NewL();
   132     
   127     
   133     CleanupStack::PushL( dataUtil );
   128     CleanupStack::PushL( dataUtil );
   134 
   129