summaryrefslogtreecommitdiff
path: root/sot/source
diff options
context:
space:
mode:
authorElton Chung <elton@layerjet.com>2012-03-04 15:27:27 +0800
committerTor Lillqvist <tml@iki.fi>2012-03-05 10:35:50 +0200
commita1a1131c16227327d17bcf5ad2a5209ddc0f01a1 (patch)
tree5766be6474c0ce1ecccb00024260a0487110b639 /sot/source
parent2bdac353ce7e28611b546bcc8a5ea236c891f944 (diff)
Remove unused code
Diffstat (limited to 'sot/source')
-rw-r--r--sot/source/sdstor/stg.cxx8
-rw-r--r--sot/source/sdstor/stgavl.cxx6
-rw-r--r--sot/source/sdstor/stgavl.hxx1
3 files changed, 0 insertions, 15 deletions
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();
};