equal
deleted
inserted
replaced
1815 { |
1815 { |
1816 WRITELOG( "CHarvesterExifUtil::ReadGPSLatitudeL() - GPS Altitude found" ); |
1816 WRITELOG( "CHarvesterExifUtil::ReadGPSLatitudeL() - GPS Altitude found" ); |
1817 |
1817 |
1818 const CExifTag* refTag = aReader->GetTagL( |
1818 const CExifTag* refTag = aReader->GetTagL( |
1819 EIfdGps, KIdGpsAltitudeRef ); |
1819 EIfdGps, KIdGpsAltitudeRef ); |
1820 TBuf8<1> altitudeRef = refTag->Data(); |
1820 TBuf8<2> altitudeRef = refTag->Data(); |
1821 const CExifTag* altitudeTag = aReader->GetTagL( |
1821 const CExifTag* altitudeTag = aReader->GetTagL( |
1822 EIfdGps, KIdGpsAltitude ); |
1822 EIfdGps, KIdGpsAltitude ); |
1823 TBuf8<KAltitudeBufferSize> altitudeBuf = altitudeTag->Data(); |
1823 TBuf8<KAltitudeBufferSize> altitudeBuf = altitudeTag->Data(); |
1824 TInt32 altitude = MdsUtils::ToUInt32L( |
1824 TInt32 altitude = MdsUtils::ToUInt32L( |
1825 CONST_CAST( TUint8*, altitudeBuf.Left(4).Ptr() ) ); |
1825 CONST_CAST( TUint8*, altitudeBuf.Left(4).Ptr() ) ); |