diff -r ef55b168cedb -r f5809cfbf6d5 mtpdataproviders/mtpimagedp/src/cmtpimagedpdeleteobject.cpp --- a/mtpdataproviders/mtpimagedp/src/cmtpimagedpdeleteobject.cpp Tue Apr 27 17:30:23 2010 +0300 +++ b/mtpdataproviders/mtpimagedp/src/cmtpimagedpdeleteobject.cpp Tue May 11 16:59:11 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