homescreenpluginsrv/hspsmanager/src/hspsserverutil.cpp
changeset 2 b7904b40483f
parent 1 844b978f8d5e
child 3 ff572005ac23
equal deleted inserted replaced
1:844b978f8d5e 2:b7904b40483f
  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 )