diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-17 16:44:49 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-17 18:45:13 +0100 |
commit | 1b33a38e32e89c63f4a2270db341cd13e91f5c64 (patch) | |
tree | 6dff85f5a6a32be0117e03062c79d4e72bb8b2df | |
parent | ecf43ac726d048530970cfdb3be98ef8a8fce782 (diff) |
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
-rw-r--r-- | basic/source/basmgr/basmgr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx index 785dda6c0429..a797947507ee 100644 --- a/basic/source/basmgr/basmgr.cxx +++ b/basic/source/basmgr/basmgr.cxx @@ -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() ) { |