mtpdataproviders/mtpimagedp/src/cmtpimagedpdeleteobject.cpp
branchRCL_3
changeset 15 f85613f12947
parent 11 f5809cfbf6d5
equal deleted inserted replaced
13:81da3301b632 15:f85613f12947
   203     do
   203     do
   204         {
   204         {
   205         iFramework.ObjectMgr().GetObjectHandlesL( params, context, handles );
   205         iFramework.ObjectMgr().GetObjectHandlesL( params, context, handles );
   206         for ( TInt i = 0; i < handles.Count(); i++)
   206         for ( TInt i = 0; i < handles.Count(); i++)
   207             {
   207             {
   208             iObjectsToDelete.Append( handles[i] );
   208             iObjectsToDelete.AppendL( handles[i] );
   209             }
   209             }
   210         }
   210         }
   211     while ( !context.QueryComplete() );
   211     while ( !context.QueryComplete() );
   212     
   212     
   213     CleanupStack::PopAndDestroy( &handles ); // - handles
   213     CleanupStack::PopAndDestroy( &handles ); // - handles