From 79d853e31826c9e8b7e86bf90e5c1f9b7dd0c43a Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 7 May 2015 10:39:08 +0200 Subject: StorageMode::DiskspannedMode is effectively unused Change-Id: I977b0a51a609d3cbc30abd308715f91cad2cfdfa --- sot/source/sdstor/storage.cxx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sot') 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) ); -- cgit