videocollection/mpxmyvideoscollection/src/vcxmyvideosalbums.cpp
branchRCL_3
changeset 57 befca0ec475f
parent 56 839377eedc2b
--- a/videocollection/mpxmyvideoscollection/src/vcxmyvideosalbums.cpp	Tue Aug 31 15:15:55 2010 +0300
+++ b/videocollection/mpxmyvideoscollection/src/vcxmyvideosalbums.cpp	Wed Sep 01 12:30:28 2010 +0100
@@ -264,7 +264,7 @@
 //
 void CVcxMyVideosAlbums::AddAlbumL( CMPXMedia& aCmd )
     {
-    if ( TVcxMyVideosCollectionUtil::Title( aCmd ).Length() > KVcxMvcMaxTitleLength )
+    if ( TVcxMyVideosCollectionUtil::Title( aCmd ).Length() > 255 )
         {
         User::Leave( KErrArgument );
         }
@@ -779,29 +779,6 @@
     }
 
 // ----------------------------------------------------------------------------
-// CVcxMyVideosAlbums::VideosAddedOrRemovedFromCacheL
-// ----------------------------------------------------------------------------
-//
-void CVcxMyVideosAlbums::VideosAddedOrRemovedFromCacheL( RArray<TUint32> aMdsIds )
-    {
-    TInt albumCount = iAlbums.Count();
-    TInt videoCount = aMdsIds.Count();
-    for ( TInt i = 0; i < albumCount; i++ )
-        {
-        for ( TInt j = 0; j < videoCount; j++ )
-            {
-            if ( iAlbums[i]->BelongsToAlbum( aMdsIds[j] ) )
-                {
-                if ( iChangedAlbums.Find( i ) == KErrNotFound )
-                    {
-                    iChangedAlbums.AppendL( i );
-                    }
-                }
-            }
-        }    
-    }
-
-// ----------------------------------------------------------------------------
 // CVcxMyVideosAlbums::VideoAddedOrRemovedFromCacheL
 // ----------------------------------------------------------------------------
 //