clfwrapper/ClientSrc/CCLFSortingStyleImpl.cpp
changeset 21 50bf9db68373
parent 0 c53acadfccc6
--- a/clfwrapper/ClientSrc/CCLFSortingStyleImpl.cpp	Fri Mar 19 09:38:01 2010 +0200
+++ b/clfwrapper/ClientSrc/CCLFSortingStyleImpl.cpp	Fri Apr 16 15:23:55 2010 +0300
@@ -127,8 +127,7 @@
 //
 void CCLFSortingStyleImpl::GetFieldsL( RArray<TCLFFieldId>& aArray ) const
     {
-    const TInt count( iFieldIDArray.Count() );
-    for( TInt i = 0 ; i < count ; ++i )
+    for( TInt i = iFieldIDArray.Count() - 1; i >=0; i--)
         {
         aArray.AppendL( iFieldIDArray[i] );
         }