Whatever those "true" arguments to SotStorage ctor may once have meant

...is lost to history, but they are effectively equivalent to pssing default
SorageMode nStorageMode = 0 today, as the only thing that is done with that
nStorageMode value (in SotStorage::CreateStorage, sot/source/sdstor/storage.cxx)
is to compare it against STORAGE_TRANSACTED (0x04) STORAGE_CREATE_UNPACKED
(0x44).

Change-Id: I6ce79c03aff941b5abb5370e52a30b2294690b3a
This commit is contained in:
Stephan Bergmann 2014-01-17 16:44:49 +01:00
parent ecf43ac726
commit 1b33a38e32

View File

@ -976,10 +976,10 @@ void BasicManager::LoadOldBasicManager( SotStorage& rStorage )
else
{
xStorageRef = new SotStorage( false, aLibAbsStorage.GetMainURL
( INetURLObject::NO_DECODE ), eStorageReadMode, true );
( INetURLObject::NO_DECODE ), eStorageReadMode );
if ( xStorageRef->GetError() != ERRCODE_NONE )
xStorageRef = new SotStorage( false, aLibRelStorage.
GetMainURL( INetURLObject::NO_DECODE ), eStorageReadMode, true );
GetMainURL( INetURLObject::NO_DECODE ), eStorageReadMode );
}
if ( xStorageRef.Is() )
{