diff -r e5b3a2155e1a -r d2c4c66342f3 messagingfw/msgsrvnstore/server/src/CMsvPlainBodyText.cpp --- a/messagingfw/msgsrvnstore/server/src/CMsvPlainBodyText.cpp Thu Aug 19 10:24:00 2010 +0300 +++ b/messagingfw/msgsrvnstore/server/src/CMsvPlainBodyText.cpp Tue Aug 31 15:41:11 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" @@ -608,7 +608,7 @@ } // Push start position of current chunk in to the stack. - iStartPosOfEachChunkInFile.Append(iStartPosOfNextChunk); + iStartPosOfEachChunkInFile.AppendL(iStartPosOfNextChunk); iStartPosOfNextChunk += numOfBytesInCurrentChunk; iReadChunkLength = numOfBytesInCurrentChunk; } @@ -919,7 +919,7 @@ else { // Push Start position of current chunk in to the stack. - iStartPosOfEachChunkInFile.Append(iStartPosOfNextChunk); + iStartPosOfEachChunkInFile.AppendL(iStartPosOfNextChunk); iStartPosOfNextChunk += numOfBytesInCurrentChunk; } iReadChunkLength = numOfBytesInCurrentChunk; @@ -1120,7 +1120,7 @@ void CMsvPlainBodyText::RevertL() { iFile.Close(); - if(!iIsCommitted && iMsvFileStatus == EMsvFileWriting) + if(!iIsCommitted) { iMsvStoreManager.DeletePlainTextFileL(iMessageId); }