javauis/lcdui_akn/lcdui/src/CMIDTextBoxEdwin.cpp
changeset 23 98ccebc37403
parent 21 2a9601315dfc
--- a/javauis/lcdui_akn/lcdui/src/CMIDTextBoxEdwin.cpp	Mon May 03 12:27:20 2010 +0300
+++ b/javauis/lcdui_akn/lcdui/src/CMIDTextBoxEdwin.cpp	Fri May 14 15:47:24 2010 +0300
@@ -179,12 +179,9 @@
 }
 
 
-void CMIDTextBoxEdwin::AddCommandsToEdwinL(RPointerArray<MMIDCommand>& aArray)
+void CMIDTextBoxEdwin::AddCommandToEdwinL(MMIDCommand& aCommand)
 {
-    for (TInt i = 0; i < aArray.Count(); i++)
-    {
-        STATIC_CAST(CMIDDisplayable*, iDisplayable)->AddCommandL(aArray[i]);
-    }
+    STATIC_CAST(CMIDDisplayable*, iDisplayable)->AddCommandL(&aCommand);
 }
 
 // ---------------------------------------------------------