--- a/idlefw/plugins/mcsplugin/settings/src/mcspluginsettingsapplist.cpp Wed Apr 14 16:16:44 2010 +0300
+++ b/idlefw/plugins/mcsplugin/settings/src/mcspluginsettingsapplist.cpp Tue Apr 27 16:57:49 2010 +0300
@@ -146,10 +146,11 @@
CMenuItem* item = iListItems[ aIndex ];
TBool attrExists;
- TPtrC itm;
+ TPtrC itm( KNullDesC );
TRAP_IGNORE(
itm.Set( item->GetAttributeL( KMenuAttrLongName, attrExists ) );
)
+
return itm;
}
@@ -195,14 +196,13 @@
{
if( aProperties[j]->Name() == KType )
{
-
if ( aProperties[j]->Value() == KProperValueFolder )
{
isFolder = ETrue;
}
break;
}
- }
+ }
TBool itemFound( EFalse );
@@ -211,7 +211,6 @@
{
TBool match( ETrue );
CMenuItem* item = iListItems[ i ];
-
for ( TInt j = 0; j < aProperties.Count() && match; j++ )
{
// type and locked properties skipped