diff options
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/storage.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx index 9cc42045f21f..0294a6ca4ea4 100644 --- a/sot/source/sdstor/storage.cxx +++ b/sot/source/sdstor/storage.cxx @@ -770,15 +770,14 @@ SotStorageStream * SotStorage::OpenSotStream( const OUString & rEleName, SotStorage * SotStorage::OpenSotStorage( const OUString & rEleName, StreamMode nMode, - StorageMode nStorageMode ) + bool transacted ) { DBG_ASSERT( Owner(), "must be owner" ); if( m_pOwnStg ) { nMode |= STREAM_SHARE_DENYALL; ErrCode nE = m_pOwnStg->GetError(); - BaseStorage * p = m_pOwnStg->OpenStorage( rEleName, nMode, - (nStorageMode & STORAGE_TRANSACTED) ? false : true ); + BaseStorage * p = m_pOwnStg->OpenStorage(rEleName, nMode, !transacted); if( p ) { SotStorage * pStor = new SotStorage( p ); |