diff options
Diffstat (limited to 'sot')
-rw-r--r-- | sot/inc/sot/stg.hxx | 1 | ||||
-rw-r--r-- | sot/source/sdstor/stg.cxx | 8 | ||||
-rw-r--r-- | sot/source/sdstor/stgavl.cxx | 6 | ||||
-rw-r--r-- | sot/source/sdstor/stgavl.hxx | 1 |
4 files changed, 0 insertions, 16 deletions
diff --git a/sot/inc/sot/stg.hxx b/sot/inc/sot/stg.hxx index 793ee0e41340..225c89eee23a 100644 --- a/sot/inc/sot/stg.hxx +++ b/sot/inc/sot/stg.hxx @@ -176,7 +176,6 @@ public: virtual sal_Bool Revert(); virtual sal_Bool Validate( sal_Bool=sal_False ) const; virtual sal_Bool ValidateMode( StreamMode ) const; - sal_Bool ValidateMode( StreamMode, StgDirEntry* p ) const; const SvStream* GetSvStream() const; virtual sal_Bool Equals( const BaseStorageStream& rStream ) const; }; diff --git a/sot/source/sdstor/stg.cxx b/sot/source/sdstor/stg.cxx index 944b8c9841b3..27c95c82162d 100644 --- a/sot/source/sdstor/stg.cxx +++ b/sot/source/sdstor/stg.cxx @@ -308,14 +308,6 @@ sal_Bool StorageStream::ValidateMode( StreamMode nMode ) const return bRet; } -sal_Bool StorageStream::ValidateMode( StreamMode nMode, StgDirEntry* p ) const -{ - sal_Bool bRet = ValidateMode_Impl( nMode, p ); - if ( !bRet ) - SetError( SVSTREAM_ACCESS_DENIED ); - return bRet; -} - ///////////////////////// class SvStorageInfo ////////////////////////////// SvStorageInfo::SvStorageInfo( const StgDirEntry& rE ) diff --git a/sot/source/sdstor/stgavl.cxx b/sot/source/sdstor/stgavl.cxx index b451bf2634d6..45572126210a 100644 --- a/sot/source/sdstor/stgavl.cxx +++ b/sot/source/sdstor/stgavl.cxx @@ -401,12 +401,6 @@ StgAvlNode* StgAvlIterator::First() return Next(); } -StgAvlNode* StgAvlIterator::Last() -{ - nCur = nCount; - return Prev(); -} - StgAvlNode* StgAvlIterator::Next() { return Find( ++nCur ); diff --git a/sot/source/sdstor/stgavl.hxx b/sot/source/sdstor/stgavl.hxx index 8bd48ef8b62e..23e9d272530a 100644 --- a/sot/source/sdstor/stgavl.hxx +++ b/sot/source/sdstor/stgavl.hxx @@ -70,7 +70,6 @@ class StgAvlIterator { public: StgAvlIterator( StgAvlNode* ); StgAvlNode* First(); - StgAvlNode* Last(); StgAvlNode* Next(); StgAvlNode* Prev(); }; |