equal
deleted
inserted
replaced
590 Called when entry's tz rule changed |
590 Called when entry's tz rule changed |
591 |
591 |
592 @param aOldEntry reference to the original entry to be updated. |
592 @param aOldEntry reference to the original entry to be updated. |
593 @param aNewEntry reference to the entry containing updated content. |
593 @param aNewEntry reference to the entry containing updated content. |
594 */ |
594 */ |
595 void CAgnTzRuleIndex::UpdateTzRuleL(CAgnEntry& aOldEntry, CAgnEntry& aNewEntry) |
595 void CAgnTzRuleIndex::UpdateTzRuleL(CAgnEntry& /*aOldEntry*/, CAgnEntry& aNewEntry) |
596 { |
596 { |
597 CAgnTzRules* newTzZone = GetTzRulesFromEntry(aNewEntry); |
597 CAgnTzRules* newTzZone = GetTzRulesFromEntry(aNewEntry); |
598 if (newTzZone != NULL && newTzZone->HasValidTzZoneStreamId()) |
598 if (newTzZone != NULL && newTzZone->HasValidTzZoneStreamId()) |
599 { |
599 { |
600 TInt pos = KErrNotFound; |
600 TInt pos = KErrNotFound; |
618 else |
618 else |
619 { |
619 { |
620 AddTzRuleL(aNewEntry); |
620 AddTzRuleL(aNewEntry); |
621 } |
621 } |
622 |
622 |
623 RemoveTzRuleL(aOldEntry); |
|
624 } |
623 } |
625 |
624 |
626 void CAgnTzRuleIndex::UpdateItemsInStoreL( |
625 void CAgnTzRuleIndex::UpdateItemsInStoreL( |
627 RPointerArray<CAgnTzRuleIndexItem>& aArray, TStreamId aStreamId) |
626 RPointerArray<CAgnTzRuleIndexItem>& aArray, TStreamId aStreamId) |
628 { |
627 { |