--- a/homescreensrv_plat/sapi_homescreenplugin/src/hspsliwutilities.cpp Mon Jan 18 20:32:13 2010 +0200
+++ b/homescreensrv_plat/sapi_homescreenplugin/src/hspsliwutilities.cpp Tue Jan 26 12:11:15 2010 +0200
@@ -683,12 +683,15 @@
ChspsDomAttribute* attr = static_cast<ChspsDomAttribute*>(
attrList.FindByName( KAttrId ));
- const TDesC8& value = attr->Value();
- if( value.Compare( aNodeIdentifier ) == 0 )
- {
- found = ETrue;
- targetNode = node;
- }
+ if ( attr )
+ {
+ const TDesC8& value = attr->Value();
+ if( value.Compare( aNodeIdentifier ) == 0 )
+ {
+ found = ETrue;
+ targetNode = node;
+ }
+ }
}
node = iter->NextL();
}