equal
deleted
inserted
replaced
748 cmpBuf.Append(_L("*")); |
748 cmpBuf.Append(_L("*")); |
749 TBuf<255> actualBuf; |
749 TBuf<255> actualBuf; |
750 TInt insertIndex=0; |
750 TInt insertIndex=0; |
751 TInt offset = KErrNotFound; |
751 TInt offset = KErrNotFound; |
752 TInt cmpOffsetListItem = KErrNotFound; |
752 TInt cmpOffsetListItem = KErrNotFound; |
753 for(insertIndex= 0;insertIndex<aItemArray.MdcaCount();insertIndex++) |
753 if ( IsTemplates() ) |
|
754 { |
|
755 insertIndex = 0; |
|
756 } |
|
757 else |
|
758 { |
|
759 insertIndex = 1; |
|
760 } |
|
761 for(;insertIndex<aItemArray.MdcaCount();insertIndex++) |
754 { |
762 { |
755 actualBuf.Copy(aItemArray.MdcaPoint(insertIndex)); |
763 actualBuf.Copy(aItemArray.MdcaPoint(insertIndex)); |
756 actualTimeBuf.Copy(actualBuf.Left( actualBuf.Match(KCmpColumnListSeparator) )); |
764 actualTimeBuf.Copy(actualBuf.Left( actualBuf.Match(KCmpColumnListSeparator) )); |
757 offset = actualBuf.Match(cmpBuf); |
765 offset = actualBuf.Match(cmpBuf); |
758 if(offset!=KErrNotFound) |
766 if(offset!=KErrNotFound) |