javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtuiutils.cpp
branchRCL_3
changeset 83 26b2b12093af
parent 66 2455ef1f5bbc
--- a/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtuiutils.cpp	Wed Sep 15 12:05:25 2010 +0300
+++ b/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtuiutils.cpp	Wed Oct 13 14:23:59 2010 +0300
@@ -815,11 +815,8 @@
 {
     TInt index = iShells.Find(&aShell);
     ASSERT(index != KErrNotFound);
-    TInt err = iShells.Append(&aShell);
-    if (err == KErrNone)
-    {
-        iShells.Remove(index);
-    }
+    iShells.Remove(index);
+    iShells.Append(&aShell);
 }
 
 // ---------------------------------------------------------------------------