filemanager/Engine/src/CFileManagerRestoreSettingsFull.cpp
branchRCL_3
changeset 13 5181328fad28
parent 11 649c558486f0
child 14 efe289f793e7
equal deleted inserted replaced
11:649c558486f0 13:5181328fad28
   231 // ----------------------------------------------------------------------------
   231 // ----------------------------------------------------------------------------
   232 //
   232 //
   233 void CFileManagerRestoreSettings::GetSelectionL(
   233 void CFileManagerRestoreSettings::GetSelectionL(
   234         RArray< TInfo >& aInfoArray ) const
   234         RArray< TInfo >& aInfoArray ) const
   235     {
   235     {
       
   236     CleanupClosePushL( aInfoArray );
   236     aInfoArray.Reset();
   237     aInfoArray.Reset();
   237 
   238 
   238     TInt count( iList.Count() );
   239     TInt count( iList.Count() );
   239 
   240 
   240     for ( TInt i( 0 ); i < count; ++i )
   241     for ( TInt i( 0 ); i < count; ++i )
   242         if ( ( ( ( TUint64 ) 1 ) << i ) & iSelection )
   243         if ( ( ( ( TUint64 ) 1 ) << i ) & iSelection )
   243             {
   244             {
   244             aInfoArray.AppendL( iList[ i ]->iInfo );
   245             aInfoArray.AppendL( iList[ i ]->iInfo );
   245             }
   246             }
   246         }
   247         }
       
   248     CleanupStack::Pop( &aInfoArray );
   247     }
   249     }
   248 
   250 
   249 // ----------------------------------------------------------------------------
   251 // ----------------------------------------------------------------------------
   250 // CFileManagerRestoreSettings::DateTimeStringLC
   252 // CFileManagerRestoreSettings::DateTimeStringLC
   251 // ----------------------------------------------------------------------------
   253 // ----------------------------------------------------------------------------