--- a/mtpfws/mtpfw/dataproviders/dputility/src/cmtpgetobjectpropdesc.cpp Fri Feb 19 23:40:44 2010 +0200
+++ b/mtpfws/mtpfw/dataproviders/dputility/src/cmtpgetobjectpropdesc.cpp Fri Mar 12 15:46:41 2010 +0200
@@ -158,7 +158,8 @@
ServiceNonConsumableL();
break;
default:
- Panic(EMTPDpUnsupportedProperty);
+ User::Leave( KErrNotSupported );
+ break;
}
__ASSERT_DEBUG(iObjectProperty, Panic(EMTPDpObjectPropertyNull));
iObjectProperty->SetUint32L(CMTPTypeObjectPropDesc::EGroupCode,GetPropertyGroupNumber(propCode));