--- a/mtpdataproviders/mtppictbridgedp/src/cmtppictbridgedpgetobjectpropdesc.cpp Fri Feb 19 23:40:44 2010 +0200
+++ b/mtpdataproviders/mtppictbridgedp/src/cmtppictbridgedpgetobjectpropdesc.cpp Fri Mar 12 15:46:41 2010 +0200
@@ -106,7 +106,8 @@
ServiceNonConsumableL();
break;
default:
- Panic(EMTPPictBridgeDpUnsupportedProperty);
+ User::Leave( KErrNotSupported );
+ break;
}
__ASSERT_DEBUG(iObjectProperty, Panic(EMTPPictBridgeDpObjectPropertyNull));
iObjectProperty->SetUint32L(CMTPTypeObjectPropDesc::EGroupCode,GetPropertyGroupNumber(propCode));