clfwrapper/ClientSrc/CCLFDefaultOperation.cpp
changeset 21 50bf9db68373
parent 20 6dfc5f825351
child 22 ab88d4a85041
equal deleted inserted replaced
20:6dfc5f825351 21:50bf9db68373
   100 // -----------------------------------------------------------------------------
   100 // -----------------------------------------------------------------------------
   101 //
   101 //
   102 void AppendItemsToArrayL( const TArray<MCLFItem*>& aSourceArray,
   102 void AppendItemsToArrayL( const TArray<MCLFItem*>& aSourceArray,
   103                           RPointerArray<MCLFItem>& aDestArray )
   103                           RPointerArray<MCLFItem>& aDestArray )
   104     {
   104     {
   105     const TInt count( aSourceArray.Count() );
   105     for( TInt i = aSourceArray.Count() - 1; i >=0; i--)
   106     for( TInt i = 0 ; i < count ; ++i )
       
   107         {
   106         {
   108         aDestArray.AppendL( aSourceArray[ i ] );
   107         aDestArray.AppendL( aSourceArray[ i ] );
   109         }
   108         }
   110     }
   109     }
   111 
   110