diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-07 08:51:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-07 11:05:05 +0200 |
commit | 66335d3898547410f8ebf9963fb00d24352a56cc (patch) | |
tree | e5fa05d054c36d6cf65286317d2d46ebf45f41fc /sot | |
parent | 9e90401a2168e7db8a3f967f0d5011d2f52039eb (diff) |
Remove unused SotStorage::OpenSotStream nStorageMode param
Change-Id: Ieda14d984f1614056c701a50ce637ea6fe9620f3
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/storage.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx index 8a540237d9ab..4c819a754a21 100644 --- a/sot/source/sdstor/storage.cxx +++ b/sot/source/sdstor/storage.cxx @@ -681,10 +681,8 @@ bool SotStorage::Commit() } SotStorageStream * SotStorage::OpenSotStream( const OUString & rEleName, - StreamMode nMode, - StorageMode nStorageMode ) + StreamMode nMode ) { - DBG_ASSERT( nStorageMode == StorageMode::Default, "StorageModes ignored" ); SotStorageStream * pStm = NULL; DBG_ASSERT( Owner(), "must be owner" ); if( m_pOwnStg ) @@ -693,8 +691,7 @@ SotStorageStream * SotStorage::OpenSotStream( const OUString & rEleName, // egal was kommt, nur exclusiv gestattet nMode |= StreamMode::SHARE_DENYALL; ErrCode nE = m_pOwnStg->GetError(); - BaseStorageStream * p = m_pOwnStg->OpenStream( rEleName, nMode, - !(nStorageMode & StorageMode::Transacted) ); + BaseStorageStream * p = m_pOwnStg->OpenStream( rEleName, nMode, true ); pStm = new SotStorageStream( p ); if( !nE ) |