landmarksui/uicontrols/src/CLmkAppLmSelectorImpl.cpp
branchRCL_3
changeset 3 3c271c9e6618
parent 0 522cd55cc3d7
child 5 41042d2af523
equal deleted inserted replaced
0:522cd55cc3d7 3:3c271c9e6618
   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