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:
parent
ecf43ac726
commit
1b33a38e32
@ -976,10 +976,10 @@ void BasicManager::LoadOldBasicManager( SotStorage& rStorage )
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
xStorageRef = new SotStorage( false, aLibAbsStorage.GetMainURL
|
xStorageRef = new SotStorage( false, aLibAbsStorage.GetMainURL
|
||||||
( INetURLObject::NO_DECODE ), eStorageReadMode, true );
|
( INetURLObject::NO_DECODE ), eStorageReadMode );
|
||||||
if ( xStorageRef->GetError() != ERRCODE_NONE )
|
if ( xStorageRef->GetError() != ERRCODE_NONE )
|
||||||
xStorageRef = new SotStorage( false, aLibRelStorage.
|
xStorageRef = new SotStorage( false, aLibRelStorage.
|
||||||
GetMainURL( INetURLObject::NO_DECODE ), eStorageReadMode, true );
|
GetMainURL( INetURLObject::NO_DECODE ), eStorageReadMode );
|
||||||
}
|
}
|
||||||
if ( xStorageRef.Is() )
|
if ( xStorageRef.Is() )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user