javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtuiutils.cpp
branchRCL_3
changeset 83 26b2b12093af
parent 66 2455ef1f5bbc
equal deleted inserted replaced
77:7cee158cb8cd 83:26b2b12093af
   813 //
   813 //
   814 void CSwtUiUtils::MoveToEndOfQueue(MSwtShell& aShell)
   814 void CSwtUiUtils::MoveToEndOfQueue(MSwtShell& aShell)
   815 {
   815 {
   816     TInt index = iShells.Find(&aShell);
   816     TInt index = iShells.Find(&aShell);
   817     ASSERT(index != KErrNotFound);
   817     ASSERT(index != KErrNotFound);
   818     TInt err = iShells.Append(&aShell);
   818     iShells.Remove(index);
   819     if (err == KErrNone)
   819     iShells.Append(&aShell);
   820     {
       
   821         iShells.Remove(index);
       
   822     }
       
   823 }
   820 }
   824 
   821 
   825 // ---------------------------------------------------------------------------
   822 // ---------------------------------------------------------------------------
   826 // CSwtUiUtils::InlineReferenceFont
   823 // CSwtUiUtils::InlineReferenceFont
   827 // ---------------------------------------------------------------------------
   824 // ---------------------------------------------------------------------------