summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorPovilas Kanapickas <povilas.kanapickas@gmail.com>2010-10-18 16:52:05 +0100
committerMichael Meeks <michael.meeks@novell.com>2010-10-18 16:52:27 +0100
commit849a713ffd29a58ae79e48f80835c28bbd9d5a72 (patch)
tree7d2c662f43a00f3bc04a0d51c685544074538a5c /sot
parentf7cbde525450a1a9427873c264791c65056c4f2a (diff)
remove non-compiled code
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/ucbstorage.cxx25
1 files changed, 0 insertions, 25 deletions
diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx
index 144a3f660fa9..487b5421ddd7 100644
--- a/sot/source/sdstor/ucbstorage.cxx
+++ b/sot/source/sdstor/ucbstorage.cxx
@@ -488,12 +488,6 @@ public:
ULONG ReadSourceWriteTemporary( ULONG aLength ); // read aLength from source and copy to temporary,
// no seeking is produced
ULONG ReadSourceWriteTemporary(); // read source till the end and copy to temporary,
- // no seeking is produced
-#if 0
- ULONG CopySourceToTemporary( ULONG aLength ); // same as ReadSourceWriteToTemporary( aLength )
- // but the writing is done at the end of temporary
- // pointer position is not changed
-#endif
ULONG CopySourceToTemporary(); // same as ReadSourceWriteToTemporary()
// but the writing is done at the end of temporary
@@ -991,25 +985,6 @@ ULONG UCBStorageStream_Impl::CopySourceToTemporary()
}
-#if 0
-ULONG UCBStorageStream_Impl::CopySourceToTemporary( ULONG aLength )
-{
- // current position of the temporary stream is not changed
- ULONG aResult = 0;
-
- if( m_bSourceRead )
- {
- ULONG aPos = m_pStream->Tell();
- m_pStream->Seek( STREAM_SEEK_TO_END );
- aResult = ReadSourceWriteTemporary( aLength );
- m_pStream->Seek( aPos );
- }
-
- return aResult;
-
-}
-#endif
-
// UCBStorageStream_Impl must have a SvStream interface, because it then can be used as underlying stream
// of an OLEStorage; so every write access caused by storage operations marks the UCBStorageStream as modified
ULONG UCBStorageStream_Impl::GetData( void* pData, ULONG nSize )