equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of the License "Eclipse Public License v1.0" |
5 * under the terms of the License "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
431 TLex lexObj(string); |
431 TLex lexObj(string); |
432 User::LeaveIfError(lexObj.Val(number)); |
432 User::LeaveIfError(lexObj.Val(number)); |
433 |
433 |
434 if(aAllowDuplicates) |
434 if(aAllowDuplicates) |
435 { |
435 { |
436 aIntArr.Append(number); |
436 aIntArr.AppendL(number); |
437 } |
437 } |
438 else |
438 else |
439 { |
439 { |
440 aIntArr.InsertInOrder(number); |
440 aIntArr.InsertInOrderL(number); |
441 } |
441 } |
442 |
442 |
443 string.Delete(0, pos); |
443 string.Delete(0, pos); |
444 |
444 |
445 string.TrimLeft(); |
445 string.TrimLeft(); |