diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-06-04 20:57:23 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-06-05 10:14:48 +0100 |
commit | 3271f2d87d8e3caca464964c03115cd3da37a138 (patch) | |
tree | fff766962c6ef85573538e94eb1f02fa1b2d63b4 /sot | |
parent | 5800884b89ace2745b66a6017d41ce5d75cb4ba0 (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.hxx | 4 | ||||
-rw-r--r-- | sot/source/sdstor/storage.cxx | 17 |
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 |