videocollection/hgmyvideos/src/vcxhgmyvideosvideodataupdater.cpp
branchRCL_3
changeset 15 8f0df5c82986
parent 9 5294c000a26d
child 20 2d690156cf8f
--- a/videocollection/hgmyvideos/src/vcxhgmyvideosvideodataupdater.cpp	Tue May 11 16:15:40 2010 +0300
+++ b/videocollection/hgmyvideos/src/vcxhgmyvideosvideodataupdater.cpp	Tue May 25 12:44:54 2010 +0300
@@ -259,7 +259,7 @@
 // -----------------------------------------------------------------------------
 //
 void CVcxHgMyVideosVideoDataUpdater::AddItemToFetchArrayL( TMPXItemId aMPXItemId )
-    {      
+    {
     CVcxHgMyVideosVideoData* newItem = CVcxHgMyVideosVideoData::NewLC();
     newItem->SetMPXItemId( aMPXItemId );
     iFetchArray.AppendL( newItem );   
@@ -849,16 +849,10 @@
             }
         else
             {
-            // Use shared file handle to minimize thumbnailserver overhead 
-            RFs& fs = iModel.FileServerSessionL();
-            RFile64 file;
-            User::LeaveIfError( file.Open( fs, uri, EFileShareReadersOrWriters ));
-            CleanupClosePushL( file );
             CThumbnailObjectSource* source = CThumbnailObjectSource::NewLC(
-                    file, mime );
+                    uri, mime );
             id = iModel.ThumbnailManager().GetL( *source );
             CleanupStack::PopAndDestroy( source ); 
-            CleanupStack::PopAndDestroy( &file );
             }
         aItem.SetThumbnailConversionId( id );