equal
deleted
inserted
replaced
637 { |
637 { |
638 // verify that destination landmark has coordinates |
638 // verify that destination landmark has coordinates |
639 TLocality loc; |
639 TLocality loc; |
640 TBool isValid = (KErrNone == aLandmark->GetPosition( loc ) ); |
640 TBool isValid = (KErrNone == aLandmark->GetPosition( loc ) ); |
641 isValid &= !Math::IsNaN( loc.Latitude() ) && !Math::IsNaN( loc.Longitude() ); |
641 isValid &= !Math::IsNaN( loc.Latitude() ) && !Math::IsNaN( loc.Longitude() ); |
642 return isValid; |
642 return !isValid; |
643 |
643 |
644 /* |
644 /* |
645 if ( !isValid ) |
645 if ( !isValid ) |
646 { |
646 { |
647 // verify that destination landmark has address info |
647 // verify that destination landmark has address info |