diff options
Diffstat (limited to 'sot/source/sdstor/stg.cxx')
-rw-r--r-- | sot/source/sdstor/stg.cxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/sot/source/sdstor/stg.cxx b/sot/source/sdstor/stg.cxx index 78c8d64c0056..af2de0e86dc7 100644 --- a/sot/source/sdstor/stg.cxx +++ b/sot/source/sdstor/stg.cxx @@ -80,13 +80,6 @@ void StorageBase::ResetError() const const_cast<StorageBase*>(this)->m_nError = SVSTREAM_OK; } -// Retrieve the underlying SvStream for info purposes - -const SvStream* OLEStorageBase::GetSvStream_Impl() const -{ - return pIo ? pIo->GetStrm() : NULL; -} - OLEStorageBase::OLEStorageBase( StgIo* p, StgDirEntry* pe, StreamMode& nMode ) : nStreamMode( nMode ), pIo( p ), pEntry( pe ) { @@ -679,20 +672,6 @@ bool Storage::Remove( const OUString& rName ) } } -// Rename a storage element - -bool Storage::Rename( const OUString& rOld, const OUString& rNew ) -{ - if( Validate( true ) ) - { - bool b = pIo->pTOC->Rename( *pEntry, rOld, rNew ); - pIo->MoveError( *this ); - return b; - } - else - return false; -} - // Copy one element bool Storage::CopyTo( const OUString& rElem, BaseStorage* pDest, const OUString& rNew ) |