equal
deleted
inserted
replaced
1644 TBool found( EFalse ); |
1644 TBool found( EFalse ); |
1645 while ( parent && !found ) |
1645 while ( parent && !found ) |
1646 { |
1646 { |
1647 if ( parent->Name().CompareF( aNodeName ) == 0 ) |
1647 if ( parent->Name().CompareF( aNodeName ) == 0 ) |
1648 { |
1648 { |
1649 ChspsDomList& attrList = parent->AttributeList(); |
1649 ChspsDomList& attrList = parent->AttributeList(); |
1650 ChspsDomAttribute* attr = static_cast<ChspsDomAttribute*>( attrList.FindByName( aAttrName ) ); |
1650 ChspsDomAttribute* attr = static_cast<ChspsDomAttribute*>( attrList.FindByName( aAttrName ) ); |
1651 if ( attr->Value().CompareF( aAttrValue ) == 0 ) |
1651 if ( attr && attr->Value().CompareF( aAttrValue ) == 0 ) |
1652 { |
1652 { |
1653 found = ETrue; |
1653 found = ETrue; |
1654 } |
1654 } |
1655 } |
1655 } |
1656 if ( !found ) |
1656 if ( !found ) |