branch | RCL_3 |
changeset 20 | 2b4ea9893b66 |
parent 0 | 667063e416a2 |
child 21 | 6b6920c56e2f |
19:02ba3f1733c6 | 20:2b4ea9893b66 |
---|---|
84 |
84 |
85 aIdArray.Reset(); |
85 aIdArray.Reset(); |
86 aIdArray.ReserveL( aNumOfItems ); // to avoid heap fragmentation |
86 aIdArray.ReserveL( aNumOfItems ); // to avoid heap fragmentation |
87 for (TInt i = aStartIndex; i < aStartIndex + aNumOfItems; i++) |
87 for (TInt i = aStartIndex; i < aStartIndex + aNumOfItems; i++) |
88 { |
88 { |
89 aIdArray.Append( iIdArray[i] ); |
89 aIdArray.AppendL( iIdArray[i] ); |
90 } |
90 } |
91 } |
91 } |
92 |
92 |