connectivitymodules/SeCon/services/pcd/src/sconqueue.cpp
branchRCL_3
changeset 6 f8e15b44d440
parent 0 d0791faffa3f
equal deleted inserted replaced
0:d0791faffa3f 6:f8e15b44d440
   263             	progress = KSConCodeInstUpgradeError;
   263             	progress = KSConCodeInstUpgradeError;
   264             	break;
   264             	break;
   265             
   265             
   266             default :
   266             default :
   267                 iQueue[index]->SetCompleteValue( complete );
   267                 iQueue[index]->SetCompleteValue( complete );
   268                 progress = KSConCodeConflict;
   268                 if ( aError < KErrNone && aError >= KErrCorruptSurrogateFound )
       
   269                     {
       
   270                     // aError is always negative
       
   271                     //  -> returned errorcode is from KSConCodeFirstSymbianErr...n
       
   272                     progress = KSConCodeFirstSymbianErr - aError;
       
   273                     }
       
   274                 else
       
   275                     {
       
   276                     progress = KSConCodeConflict;
       
   277                     }
       
   278                 
   269                 break;
   279                 break;
   270             }
   280             }
   271             
   281             
   272         iQueue[index]->SetProgressValue( progress );
   282         iQueue[index]->SetProgressValue( progress );
   273         }
   283         }