--- a/mtpdataproviders/mtpimagedp/src/cmtpimagedpdeleteobject.cpp Fri May 14 16:42:01 2010 +0300
+++ b/mtpdataproviders/mtpimagedp/src/cmtpimagedpdeleteobject.cpp Thu May 27 13:42:43 2010 +0300
@@ -238,7 +238,10 @@
//add Suid to deleteobjectlist
iDataProvider.AppendDeleteObjectsArrayL(iObjectMeta->DesC(CMTPObjectMetaData::ESuid));
//coverity[unterminated_case]
- case KErrNone:
+ case KErrPathNotFound:
+ //if the file does not exist on device, remove it from objectstore
+ //coverity[fallthrough]
+ case KErrNone:
//add for test
__FLOG(_L8("KErrNone"));
//if the image object is new, we should update new picture count