mtpfws/mtpfw/dataproviders/dputility/src/cmtpgetpartialobject.cpp
changeset 17 aabe5387f5ce
parent 0 d0791faffa3f
child 47 63cf70d3ecd8
equal deleted inserted replaced
0:d0791faffa3f 17:aabe5387f5ce
   109         else
   109         else
   110             {
   110             {
   111             TEntry fileEntry;
   111             TEntry fileEntry;
   112             User::LeaveIfError(iFramework.Fs().Entry(iObjectInfo->DesC(CMTPObjectMetaData::ESuid), fileEntry));
   112             User::LeaveIfError(iFramework.Fs().Entry(iObjectInfo->DesC(CMTPObjectMetaData::ESuid), fileEntry));
   113 
   113 
   114             if((iOffset >= fileEntry.iSize)) 
   114             if((iOffset >= fileEntry.FileSize())) 
   115                 {
   115                 {
   116                 result = EMTPRespCodeInvalidParameter;
   116                 result = EMTPRespCodeInvalidParameter;
   117                 }
   117                 }
   118             }
   118             }
   119         }
   119         }