diff options
author | Mathias Bauer <mba@openoffice.org> | 2001-03-09 09:21:54 +0000 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2001-03-09 09:21:54 +0000 |
commit | 8d3af58759200e4885194146a5fb2ad135cffbdc (patch) | |
tree | 22de18c47c57d32bf3487cc89462d7453d0758d7 /sot | |
parent | 0868c2fb287fc3e483fee1cbcda3baaed6961eb4 (diff) |
#84277#: allow creation of temp. OLE-Storages
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/storage.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx index 926e00a821b5..78594d6f49ba 100644 --- a/sot/source/sdstor/storage.cxx +++ b/sot/source/sdstor/storage.cxx @@ -2,9 +2,9 @@ * * $RCSfile: storage.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: mba $ $Date: 2001-03-05 12:46:00 $ + * last change: $Author: mba $ $Date: 2001-03-09 10:21:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -514,7 +514,7 @@ SotStorage::SotStorage( const String & rName, StreamMode nMode, StorageMode nSto INIT_SotStorage() { aName = rName; // Namen merken - CreateStorage( FALSE, nMode, nStorageMode ); + CreateStorage( TRUE, nMode, nStorageMode ); } void SotStorage::CreateStorage( BOOL bForceUCBStorage, StreamMode nMode, StorageMode nStorageMode ) @@ -572,10 +572,10 @@ void SotStorage::CreateStorage( BOOL bForceUCBStorage, StreamMode nMode, Storage else { // temporary storage -// if ( bForceUCBStorage ) + if ( bForceUCBStorage ) pOwnStg = new UCBStorage( aName, nMode, (nStorageMode & STORAGE_TRANSACTED) ? FALSE : TRUE ); -// else -// pOwnStg = new Storage( aName, nMode, (nStorageMode & STORAGE_TRANSACTED) ? FALSE : TRUE ); + else + pOwnStg = new Storage( aName, nMode, (nStorageMode & STORAGE_TRANSACTED) ? FALSE : TRUE ); aName = pOwnStg->GetName(); } |