mtpdataproviders/mtppictbridgedp/src/cmtppictbridgedpgetobjectpropdesc.cpp
branchRCL_3
changeset 11 4843bb5893b6
parent 0 d0791faffa3f
--- 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));