equal
deleted
inserted
replaced
681 { |
681 { |
682 ChspsDomList& attrList = node->AttributeList(); |
682 ChspsDomList& attrList = node->AttributeList(); |
683 |
683 |
684 ChspsDomAttribute* attr = static_cast<ChspsDomAttribute*>( |
684 ChspsDomAttribute* attr = static_cast<ChspsDomAttribute*>( |
685 attrList.FindByName( KAttrId )); |
685 attrList.FindByName( KAttrId )); |
686 const TDesC8& value = attr->Value(); |
686 if ( attr ) |
687 if( value.Compare( aNodeIdentifier ) == 0 ) |
687 { |
688 { |
688 const TDesC8& value = attr->Value(); |
689 found = ETrue; |
689 if( value.Compare( aNodeIdentifier ) == 0 ) |
690 targetNode = node; |
690 { |
691 } |
691 found = ETrue; |
|
692 targetNode = node; |
|
693 } |
|
694 } |
692 } |
695 } |
693 node = iter->NextL(); |
696 node = iter->NextL(); |
694 } |
697 } |
695 CleanupStack::PopAndDestroy( iter ); |
698 CleanupStack::PopAndDestroy( iter ); |
696 return *targetNode; |
699 return *targetNode; |