From 1b33a38e32e89c63f4a2270db341cd13e91f5c64 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 17 Jan 2014 16:44:49 +0100 Subject: [PATCH] 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 --- basic/source/basmgr/basmgr.cxx | 4 ++-- 1 file 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() ) {