homescreensrv_plat/sapi_homescreenplugin/src/hspsliwutilities.cpp
changeset 3 ff572005ac23
parent 0 79c6a41cd166
child 4 1a2a00e78665
equal deleted inserted replaced
2:b7904b40483f 3:ff572005ac23
   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;