equal
deleted
inserted
replaced
576 { |
576 { |
577 // verify that destination landmark has coordinates |
577 // verify that destination landmark has coordinates |
578 TLocality loc; |
578 TLocality loc; |
579 TBool isValid = (KErrNone == aLandmark.GetPosition( loc ) ); |
579 TBool isValid = (KErrNone == aLandmark.GetPosition( loc ) ); |
580 isValid &= !Math::IsNaN( loc.Latitude() ) && !Math::IsNaN( loc.Longitude() ); |
580 isValid &= !Math::IsNaN( loc.Latitude() ) && !Math::IsNaN( loc.Longitude() ); |
581 return isValid; |
581 return !isValid; |
582 |
582 |
583 /* if ( !isValid ) |
583 /* if ( !isValid ) |
584 { |
584 { |
585 // verify that destination landmark has address info |
585 // verify that destination landmark has address info |
586 TPositionFieldId fieldId = aLandmark.FirstPositionFieldId(); |
586 TPositionFieldId fieldId = aLandmark.FirstPositionFieldId(); |