diff -r e686773b3f54 -r 0ba2181d7c28 phonebookengines/contactsmodel/cntsrv/src/CViewSubSessions.cpp --- a/phonebookengines/contactsmodel/cntsrv/src/CViewSubSessions.cpp Tue Feb 02 10:12:17 2010 +0200 +++ b/phonebookengines/contactsmodel/cntsrv/src/CViewSubSessions.cpp Fri Mar 19 09:27:18 2010 +0200 @@ -1,17 +1,20 @@ -// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). -// All rights reserved. -// This component and the accompanying materials are made available -// under the terms of "Eclipse Public License v1.0" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// +/* +* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + /** @file @@ -21,13 +24,13 @@ #include "cntviewprivate.h" -#include "CViewSubSessions.h" -#include "CCntIpcCodes.h" -#include "CCntDbManager.h" -#include "CCntServer.h" +#include "cviewsubsessions.h" +#include "ccntipccodes.h" +#include "ccntdbmanager.h" +#include "ccntserver.h" #include -#include "CCntLogger.h" -#include "CCntStateMachine.h" +#include "ccntlogger.h" +#include "ccntstatemachine.h" extern void DebugLogViewNotification(const TDesC& aMethod, const TContactViewEvent& aEvent); @@ -127,10 +130,7 @@ if(iEvents[pos].iInt >= aEvent.iInt && iEvents[pos].iContactId != aEvent.iContactId) { - if( iEvents[pos].iEventType == TContactViewEvent::EItemRemoved || iEvents[pos].iEventType == TContactViewEvent::EItemAdded) - { - iEvents[pos].iInt++; - } + iEvents[pos].iInt++; } } iQueueError = iEvents.Insert(aEvent, lastItemRemovedPosition); @@ -153,10 +153,7 @@ eventsCount=iEvents.Count(); for(TUint loop=pos+1; loopQ:"), event); }