diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-10-18 14:21:23 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-10-18 14:21:23 +0000 |
commit | 3142abaae828a5bea5c48a88b13e280f2a4e0e50 (patch) | |
tree | 3c2ed5d61f7de5697a04be05a73c0b25c0d09946 /sot/source | |
parent | e4b306a74b6b0ee034da747fa4eae0aad49ac252 (diff) |
INTEGRATION: CWS dr26 (1.40.8); FILE MERGED
2004/10/13 11:14:26 dr 1.40.8.1: #i35275# missing stream flag
Diffstat (limited to 'sot/source')
-rw-r--r-- | sot/source/sdstor/storage.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx index eb359a5090b4..ba9e5d1cb18d 100644 --- a/sot/source/sdstor/storage.cxx +++ b/sot/source/sdstor/storage.cxx @@ -2,9 +2,9 @@ * * $RCSfile: storage.cxx,v $ * - * $Revision: 1.40 $ + * $Revision: 1.41 $ * - * last change: $Author: kz $ $Date: 2004-10-04 20:31:39 $ + * last change: $Author: obo $ $Date: 2004-10-18 15:21:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1526,6 +1526,8 @@ SotStorage* SotStorage::OpenOLEStorage( const com::sun::star::uno::Reference < c nEleMode |= embed::ElementModes::WRITE; if ( nMode & STREAM_TRUNC ) nEleMode |= embed::ElementModes::TRUNCATE; + if ( nMode & STREAM_NOCREATE ) + nEleMode |= embed::ElementModes::NOCREATE; SvStream* pStream = NULL; try |