javauis/lcdui_akn/lcdui/src/CMIDCommandList.cpp
branchRCL_3
changeset 21 4376525cdefb
parent 17 0fd27995241b
--- a/javauis/lcdui_akn/lcdui/src/CMIDCommandList.cpp	Wed Jun 09 09:34:07 2010 +0300
+++ b/javauis/lcdui_akn/lcdui/src/CMIDCommandList.cpp	Mon Jun 21 15:32:50 2010 +0300
@@ -133,7 +133,7 @@
   command of that type.
 */
 TInt CMIDCommandList::HighestNonMappedPriorityCommand(
-        MMIDCommand::TCommandType aType, TBool aIgnoreForImplicitList) const
+    MMIDCommand::TCommandType aType, TBool aIgnoreForImplicitList) const
 {
     TInt numCommands = Count();
     for (TInt i = 0; i < numCommands; i++)
@@ -141,10 +141,10 @@
         CMIDCommand* cmd = At(i).iCommand;
         // In case of IMPLICIT List without highlight, nor OK
         // neither ITEM commands are mapped to soft keys.
-        TBool ignore = aIgnoreForImplicitList 
-                && (cmd->CommandType() == MMIDCommand::EOk 
-                    || cmd->CommandType() == MMIDCommand::EItem);
-        if ((cmd->CommandType() == aType) && !cmd->IsMappedToSoftKey() 
+        TBool ignore = aIgnoreForImplicitList
+                       && (cmd->CommandType() == MMIDCommand::EOk
+                           || cmd->CommandType() == MMIDCommand::EItem);
+        if ((cmd->CommandType() == aType) && !cmd->IsMappedToSoftKey()
                 && !ignore)
         {
             return i;
@@ -165,7 +165,7 @@
     for (TInt i = 0; i < numTypes; i++)
     {
         TInt index = HighestNonMappedPriorityCommand(
-                aSoftKey.AllowedCommandTypes()[i], aIgnoreForImplicitList);
+                         aSoftKey.AllowedCommandTypes()[i], aIgnoreForImplicitList);
         if (index != KErrNotFound)
         {
             return index;