diff options
author | Palenik Mihály <palenik.mihaly@gmail.com> | 2013-07-11 18:30:38 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2013-07-16 13:31:53 +0000 |
commit | c66e9cd24c28ff00f15770037ae9a8dd852fdada (patch) | |
tree | acb0aa67c05bc46a8093fa9646bf25a19e9cc1ad /sot | |
parent | 159e3639077d8e05707133969c4e5cd710c10e2e (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 'sot')
-rw-r--r-- | sot/source/sdstor/storage.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx index 68da44187e44..3ae023668533 100644 --- a/sot/source/sdstor/storage.cxx +++ b/sot/source/sdstor/storage.cxx @@ -31,7 +31,6 @@ #include <sot/formats.hxx> #include <sot/exchange.hxx> #include <unotools/ucbstreamhelper.hxx> -#include <tools/cachestr.hxx> #include <tools/debug.hxx> #include <tools/urlobj.hxx> #include <unotools/localfilehelper.hxx> @@ -68,7 +67,7 @@ SvLockBytesRef MakeLockBytes_Impl( const OUString & rName, StreamMode nMode ) } else { - SvStream * pCacheStm = new SvCacheStream(); + SvStream * pCacheStm = new SvMemoryStream(); xLB = new SvLockBytes( pCacheStm, true ); } return xLB; |