equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 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 "Eclipse Public License v1.0" |
5 * under the terms of "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". |
1546 "Original body content length: %d.", srcPart->ContentLengthL() ) |
1546 "Original body content length: %d.", srcPart->ContentLengthL() ) |
1547 |
1547 |
1548 //copy the body content from the original. |
1548 //copy the body content from the original. |
1549 TInt startOffset = 0; |
1549 TInt startOffset = 0; |
1550 RBuf8 buf; |
1550 RBuf8 buf; |
1551 buf.Create( KQuotedReadBufferSize ); |
1551 buf.CreateL( KQuotedReadBufferSize ); |
1552 CleanupClosePushL( buf ); |
1552 CleanupClosePushL( buf ); |
1553 |
1553 |
1554 do |
1554 do |
1555 { |
1555 { |
1556 srcPart->FetchContentToBufferL( buf, startOffset ); |
1556 srcPart->FetchContentToBufferL( buf, startOffset ); |