photosgallery/viewframework/views/listview/src/glxlistviewimp.cpp
changeset 1 9ba538e329bd
parent 0 4e91876724a2
child 2 7d9067c6fcb1
equal deleted inserted replaced
0:4e91876724a2 1:9ba538e329bd
   556 	{
   556 	{
   557 	TRACER("CGlxListViewImp::HandleItemRemovedL");
   557 	TRACER("CGlxListViewImp::HandleItemRemovedL");
   558 	
   558 	
   559 	if(iMediaList == aList)
   559 	if(iMediaList == aList)
   560 		{
   560 		{
   561 		for(TInt i = aStartIndex;i <= aEndIndex; i++ )
   561 		for(TInt i = aEndIndex ;i >= aStartIndex; i-- )
   562 			{
   562 			{
   563 			iList->RemoveItem(i);
   563 			iList->RemoveItem(i);
   564 			}
   564 			}
   565 
   565 
   566 		if(aEndIndex >= iList->ItemCount())
   566 		if(aEndIndex >= iList->ItemCount())