locationtriggering/ltcontainer/src/lbtdbtriggersmanager.cpp
changeset 51 111f80460dbe
parent 46 df1a0df61209
equal deleted inserted replaced
46:df1a0df61209 51:111f80460dbe
   364         {
   364         {
   365         case EOpStateQuery:
   365         case EOpStateQuery:
   366             {
   366             {
   367              
   367              
   368             // check if view is empty, return KErrNotFound
   368             // check if view is empty, return KErrNotFound
   369             if( iView.IsEmptyL() || !iView.AtRow() || !iView.FirstL() )
   369             if( !iView.FirstL() || iView.IsEmptyL() || !iView.AtRow() )
   370                 {
   370                 {
   371                 CompleteClientRequest( KErrNotFound );
   371                 CompleteClientRequest( KErrNotFound );
   372                 break;
   372                 break;
   373                 }       
   373                 }       
   374             // Start iterating through all the triggers in view            
   374             // Start iterating through all the triggers in view