diff -r d39add9822e2 -r 5bfc169077b2 webengine/osswebengine/cache/src/HttpCachePostponeWriteUtilities.cpp --- a/webengine/osswebengine/cache/src/HttpCachePostponeWriteUtilities.cpp Tue Feb 02 00:56:45 2010 +0200 +++ b/webengine/osswebengine/cache/src/HttpCachePostponeWriteUtilities.cpp Fri Mar 19 09:52:28 2010 +0200 @@ -99,8 +99,8 @@ HttpCacheUtil::WriteFormatLog(0, _L("CACHEPOSTPONE: CHttpCacheEntryAsyncWriteHelper::WriteNextBodyBlock called on object %08x for block %d"), this, iBodyPart ); #endif - iCurrentBuf.Set( iSource->BodyData().GetSegmentData(iBodyPart) ); - iSource->BodyFile().Write(iCurrentBuf, iStatus); + TPtrC8 bufferPtr( iSource->BodyData().GetSegmentData(iBodyPart) ); + iSource->BodyFile().Write(bufferPtr, iStatus); } // -----------------------------------------------------------------------------