summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-04 20:57:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-06-05 10:14:48 +0100
commit3271f2d87d8e3caca464964c03115cd3da37a138 (patch)
treefff766962c6ef85573538e94eb1f02fa1b2d63b4 /sot
parent5800884b89ace2745b66a6017d41ce5d75cb4ba0 (diff)
This SyncSvStream/SyncSysStream stuff isn't used
and doesn't seem to make a lot of sense Change-Id: Ie59e39c88070b6620cb7683e69052314d732c54a
Diffstat (limited to 'sot')
-rw-r--r--sot/inc/sot/storage.hxx4
-rw-r--r--sot/source/sdstor/storage.cxx17
2 files changed, 0 insertions, 21 deletions
diff --git a/sot/inc/sot/storage.hxx b/sot/inc/sot/storage.hxx
index 925ae42f89c1..c6cd34263b86 100644
--- a/sot/inc/sot/storage.hxx
+++ b/sot/inc/sot/storage.hxx
@@ -80,10 +80,6 @@ public:
SotStorageStream();
SO2_DECL_BASIC_CLASS_DLL(SotStorageStream,SOTDATA())
- using SvStream::SyncSvStream;
- virtual void SyncSvStream();
- void SyncSysStream() { SvStream::SyncSysStream(); }
-
virtual void ResetError();
virtual void SetSize( sal_uLong nNewSize );
diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx
index 5c7241a44177..ef223fc096ee 100644
--- a/sot/source/sdstor/storage.cxx
+++ b/sot/source/sdstor/storage.cxx
@@ -146,23 +146,6 @@ SotStorageStream::~SotStorageStream()
}
/*************************************************************************
-|* SotStorageStream::SyncSvStream()
-|*
-|* Beschreibung: Der SvStream wird auf den Zustand des Standard-Streams
-|* gesetzt. Der Puffer des SvStreams wird weggeworfen.
-*************************************************************************/
-void SotStorageStream::SyncSvStream()
-{
- if( pOwnStm )
- {
- pOwnStm->Flush();
- sal_uLong nPos = pOwnStm->Tell();
- SetError( pOwnStm->GetError() );
- SvStream::SyncSvStream( nPos );
- }
-}
-
-/*************************************************************************
|* SotStorageStream::ResetError()
|*
|* Beschreibung