homescreenpluginsrv/hspsmanager/src/hspsserverutil.cpp
changeset 2 b7904b40483f
parent 1 844b978f8d5e
child 3 ff572005ac23
--- a/homescreenpluginsrv/hspsmanager/src/hspsserverutil.cpp	Thu Jan 07 12:55:39 2010 +0200
+++ b/homescreenpluginsrv/hspsmanager/src/hspsserverutil.cpp	Mon Jan 18 20:32:13 2010 +0200
@@ -1646,9 +1646,9 @@
         {
         if ( parent->Name().CompareF( aNodeName ) == 0 )
             {
-            ChspsDomList& attrList = parent->AttributeList();                 
+            ChspsDomList& attrList = parent->AttributeList();
             ChspsDomAttribute* attr = static_cast<ChspsDomAttribute*>( attrList.FindByName( aAttrName ) );
-            if ( attr->Value().CompareF( aAttrValue ) == 0 )
+            if ( attr && attr->Value().CompareF( aAttrValue ) == 0 )
                 {
                 found = ETrue;
                 }