diff -r 8db05346071b -r 59575560d1e6 locationdataharvester/geocodeupdate/src/geocodeupdate.cpp --- a/locationdataharvester/geocodeupdate/src/geocodeupdate.cpp Tue Jul 06 14:10:28 2010 +0300 +++ b/locationdataharvester/geocodeupdate/src/geocodeupdate.cpp Wed Aug 18 09:43:18 2010 +0300 @@ -127,8 +127,11 @@ AgendaGeoValue geoValue; geoValue.setLatLong(latitude, longitude); MYLOCLOGSTRING("latitude and longitude set to AgendaGeoValue object."); - agendaEntry.setGeoValue(geoValue); - ret = mAgendaUtil->updateEntry(agendaEntry); + if( !agendaEntry.isNull() ) + { + agendaEntry.setGeoValue(geoValue); + ret = mAgendaUtil->store(agendaEntry); + } } return ret; }