clfwrapper/ClientSrc/CCLFSortingStyleImpl.cpp
branchRCL_3
changeset 15 3cebc1a84278
parent 0 c53acadfccc6
equal deleted inserted replaced
14:646a02f170b9 15:3cebc1a84278
   125 // CCLFSortingStyleImpl::GetFieldsL
   125 // CCLFSortingStyleImpl::GetFieldsL
   126 // -----------------------------------------------------------------------------
   126 // -----------------------------------------------------------------------------
   127 //
   127 //
   128 void CCLFSortingStyleImpl::GetFieldsL( RArray<TCLFFieldId>& aArray ) const
   128 void CCLFSortingStyleImpl::GetFieldsL( RArray<TCLFFieldId>& aArray ) const
   129     {
   129     {
   130     const TInt count( iFieldIDArray.Count() );
   130     for( TInt i = iFieldIDArray.Count() - 1; i >=0; i--)
   131     for( TInt i = 0 ; i < count ; ++i )
       
   132         {
   131         {
   133         aArray.AppendL( iFieldIDArray[i] );
   132         aArray.AppendL( iFieldIDArray[i] );
   134         }
   133         }
   135     }
   134     }
   136 
   135