diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-09-15 17:44:24 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-09-15 18:22:37 +0200 |
commit | 03043589c3e62561fab1f28dcec470ddd22df7f4 (patch) | |
tree | e54fa15c5c84d4a3f674efb655e184b1edd7a6db /basic | |
parent | ca87db7da4149118f5b0fb4e67c87a708ccf1b79 (diff) |
Clean up StorageMode parameter of SotStorage::OpenSotStorage
...which was only used to transport either STORAGE_TRANSACTED or sal_False
(i.e., 0, meaning "not STORAGE_TRANSACTED").
Change-Id: I25a894262bbefdb6c0634309bccfb1e56dad7d88
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/basmgr/basmgr.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx index 3cbfb1c8d7bb..9563b5761f48 100644 --- a/basic/source/basmgr/basmgr.cxx +++ b/basic/source/basmgr/basmgr.cxx @@ -635,7 +635,7 @@ BasicManager::BasicManager( SotStorage& rStorage, const OUString& rBaseURL, Star mpImpl->mpManagerStream = new SvMemoryStream(); static_cast<SvStream*>(&xManagerStream)->ReadStream( *mpImpl->mpManagerStream ); - SotStorageRef xBasicStorage = rStorage.OpenSotStorage( OUString(szBasicStorage), eStorageReadMode, sal_False ); + SotStorageRef xBasicStorage = rStorage.OpenSotStorage( OUString(szBasicStorage), eStorageReadMode, false ); if( xBasicStorage.Is() && !xBasicStorage->GetError() ) { sal_uInt16 nLibs = GetLibCount(); @@ -1065,7 +1065,7 @@ bool BasicManager::ImpLoadLibrary( BasicLibInfo* pLibInfo, SotStorage* pCurStora { xStorage = new SotStorage( false, aStorageName, eStorageReadMode ); } - SotStorageRef xBasicStorage = xStorage->OpenSotStorage( OUString(szBasicStorage), eStorageReadMode, sal_False ); + SotStorageRef xBasicStorage = xStorage->OpenSotStorage( OUString(szBasicStorage), eStorageReadMode, false ); if ( !xBasicStorage.Is() || xBasicStorage->GetError() ) { @@ -1330,7 +1330,7 @@ bool BasicManager::RemoveLib( sal_uInt16 nLib, bool bDelBasicFromStorage ) if (xStorage.Is() && xStorage->IsStorage(OUString(szBasicStorage))) { SotStorageRef xBasicStorage = xStorage->OpenSotStorage - ( OUString(szBasicStorage), STREAM_STD_READWRITE, sal_False ); + ( OUString(szBasicStorage), STREAM_STD_READWRITE, false ); if ( !xBasicStorage.Is() || xBasicStorage->GetError() ) { |