summaryrefslogtreecommitdiff
path: root/tools/source/inet
diff options
context:
space:
mode:
authorPalenik Mihály <palenik.mihaly@gmail.com>2013-07-11 18:30:38 +0200
committerAndras Timar <atimar@suse.com>2013-07-16 13:31:53 +0000
commitc66e9cd24c28ff00f15770037ae9a8dd852fdada (patch)
treeacb0aa67c05bc46a8093fa9646bf25a19e9cc1ad /tools/source/inet
parent159e3639077d8e05707133969c4e5cd710c10e2e (diff)
Delete SvCacheStream class
I changed SvCacheStream class to SvMemoryStream class in the following: MSE40HTMLClipFormatObj, SfxLockBytesItem, SwEditShell, INetMIMEMessageStream classes, MakeLockBytes_Impl function and SwUnoCursorHelper namespace. I modified header the precompiled_sw.hxx, wrtsh1.cxx, unoobj2.cxx. I added two functions in SvMemoryStream class: GetBuffer and GetSize, and I renamed the old GetSize function to GetBufSize. I deleted SvCacheStream class. Change-Id: I929236538dfbe23cccfd1eb85f10c1d5411baa8d Reviewed-on: https://gerrit.libreoffice.org/4847 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
Diffstat (limited to 'tools/source/inet')
-rw-r--r--tools/source/inet/inetstrm.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/source/inet/inetstrm.cxx b/tools/source/inet/inetstrm.cxx
index 3e619d841c7b..8204eeccee0c 100644
--- a/tools/source/inet/inetstrm.cxx
+++ b/tools/source/inet/inetstrm.cxx
@@ -20,7 +20,6 @@
#include <comphelper/string.hxx>
#include <sal/types.h>
#include <rtl/strbuf.hxx>
-#include <tools/cachestr.hxx>
#include <tools/inetmsg.hxx>
#include <tools/inetstrm.hxx>
@@ -1396,7 +1395,7 @@ int INetMIMEMessageStream::PutMsgLine(const sal_Char* pData, sal_uIntPtr nSize)
{
// Encapsulated message.
INetMIMEMessage* pNewMessage = new INetMIMEMessage;
- pNewMessage->SetDocumentLB( new SvAsyncLockBytes(new SvCacheStream, false));
+ pNewMessage->SetDocumentLB( new SvAsyncLockBytes(new SvMemoryStream(), false));
pMsg->AttachChild( *pNewMessage, true );
// Encapsulated message body. Create message parser stream.
@@ -1509,7 +1508,7 @@ int INetMIMEMessageStream::PutMsgLine(const sal_Char* pData, sal_uIntPtr nSize)
new INetMIMEMessage;
pNewMessage->SetDocumentLB(
new SvAsyncLockBytes(
- new SvCacheStream, false));
+ new SvMemoryStream(), false));
pMsg->AttachChild( *pNewMessage, true );