branch | RCL_3 |
changeset 31 | b9e74fff3740 |
parent 0 | 8e480a14352b |
child 39 | e5b3a2155e1a |
--- a/messagingfw/msgsrvnstore/server/src/MCLENTRY.CPP Wed Jun 09 10:13:14 2010 +0300 +++ b/messagingfw/msgsrvnstore/server/src/MCLENTRY.CPP Mon Jun 21 16:13:01 2010 +0300 @@ -2726,13 +2726,20 @@ // { TInt count = aSelection.Count(); - while (count--) - { - if (!IsAChild(aSelection.At(count))) - { - return EFalse; - } - } + if(!count) + { + return EFalse; + } + else + { + while (count--) + { + if (!IsAChild(aSelection.At(count))) + { + return EFalse; + } + } + } return ETrue; }