equal
deleted
inserted
replaced
1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
116 |
116 |
117 // Check the part is in range, if so return it |
117 // Check the part is in range, if so return it |
118 if ((aIndex < NumPartsL()) && (aIndex >= 0)) |
118 if ((aIndex < NumPartsL()) && (aIndex >= 0)) |
119 return iParts[aIndex]; |
119 return iParts[aIndex]; |
120 else |
120 else |
121 return NULL; |
121 User::Leave(KErrNotFound); |
|
122 |
|
123 return NULL; |
122 } |
124 } |
123 |
125 |
124 EXPORT_C |
126 EXPORT_C |
125 void CHeaderField::RawDataL(TPtrC8& aRawData) |
127 void CHeaderField::RawDataL(TPtrC8& aRawData) |
126 { |
128 { |