Kaydet (Commit) 1b33a38e authored tarafından Stephan Bergmann's avatar Stephan Bergmann

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
üst ecf43ac7
......@@ -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() )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment