diff options
-rw-r--r-- | include/sot/storage.hxx | 5 | ||||
-rw-r--r-- | sot/source/sdstor/storage.cxx | 4 |
2 files changed, 2 insertions, 7 deletions
diff --git a/include/sot/storage.hxx b/include/sot/storage.hxx index 2acbc07c8cbb..a97fa80550c7 100644 --- a/include/sot/storage.hxx +++ b/include/sot/storage.hxx @@ -35,13 +35,12 @@ enum class StorageMode { Default = 0, - Transacted = 0x04, - DiskspannedMode = 0x80 + Transacted = 0x04 }; namespace o3tl { -template<> struct typed_flags<StorageMode>: is_typed_flags<StorageMode, 0x84> +template<> struct typed_flags<StorageMode>: is_typed_flags<StorageMode, 0x04> {}; } diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx index 9dd9e32442dd..4d32dc2ca2f3 100644 --- a/sot/source/sdstor/storage.cxx +++ b/sot/source/sdstor/storage.cxx @@ -383,10 +383,6 @@ void SotStorage::CreateStorage( bool bForceUCBStorage, StreamMode nMode, Storage } else { - // detect special disk spanned storages - if ( UCBStorage::IsDiskSpannedFile( m_pStorStm ) ) - nStorageMode |= StorageMode::DiskspannedMode; - // UCBStorage always works directly on the UCB content, so discard the stream first DELETEZ( m_pStorStm ); m_pOwnStg = new UCBStorage( m_aName, nMode, !(nStorageMode & StorageMode::Transacted) ); |