emailservices/emailstore/base_plugin/src/BasePlugin.cpp
changeset 68 83cc6bae1de8
parent 56 15bc1d5d6267
child 74 6c59112cfd31
equal deleted inserted replaced
67:459da34cdb45 68:83cc6bae1de8
     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 );