messagingfw/msgsrvnstore/server/src/msvsearchsortcacheentry.cpp
branchRCL_3
changeset 23 d51193d814ea
parent 22 d2c4c66342f3
equal deleted inserted replaced
22:d2c4c66342f3 23:d51193d814ea
     1 // Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
   116 	for (TInt qCount = 0; qCount < aQuery->iQueryCount; qCount++)
   116 	for (TInt qCount = 0; qCount < aQuery->iQueryCount; qCount++)
   117 		{
   117 		{
   118 		iQueryData.iMessagePart = aQuery->iQueryTable[qCount].iMessagePart;
   118 		iQueryData.iMessagePart = aQuery->iQueryTable[qCount].iMessagePart;
   119 		iQueryData.iRelationOp = aQuery->iQueryTable[qCount].iRelationOp;
   119 		iQueryData.iRelationOp = aQuery->iQueryTable[qCount].iRelationOp;
   120 		iQueryData.iQueryString.Copy(aQuery->iQueryTable[qCount].iQueryString);
   120 		iQueryData.iQueryString.Copy(aQuery->iQueryTable[qCount].iQueryString);
   121 		iMsgQuery.AppendL(iQueryData);	 
   121 		iMsgQuery.Append(iQueryData);	 
   122 		}
   122 		}
   123 	
   123 	
   124 		CMSvSearchSortCacheManager::Instance()->GenerateQueryId(*this);
   124 		CMSvSearchSortCacheManager::Instance()->GenerateQueryId(*this);
   125 	}
   125 	}
   126 
   126