diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-04-15 13:29:32 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-04-15 13:29:32 +0000 |
commit | 347d6d5ff97695c78953b243dbc3cde63d604316 (patch) | |
tree | ace1ca380785b13bb921d68b0004f7e392b60ebe /sal/osl | |
parent | 224a899e94c18c03febe6d7e9b86792c1efaaf60 (diff) |
INTEGRATION: CWS calcshare2 (1.15.24); FILE MERGED
2008/03/14 20:00:53 mav 1.15.24.1: #i85794# new file locking prototype
Diffstat (limited to 'sal/osl')
-rw-r--r-- | sal/osl/w32/file.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sal/osl/w32/file.cxx b/sal/osl/w32/file.cxx index 6f3792a9c076..4e53cbeb0a70 100644 --- a/sal/osl/w32/file.cxx +++ b/sal/osl/w32/file.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: file.cxx,v $ - * $Revision: 1.17 $ + * $Revision: 1.18 $ * * This file is part of OpenOffice.org. * @@ -2484,6 +2484,9 @@ oslFileError SAL_CALL osl_openFile( else dwShare |= FILE_SHARE_WRITE; + if ( uFlags & osl_File_OpenFlag_NoLock ) + dwShare |= FILE_SHARE_WRITE; + if ( uFlags & osl_File_OpenFlag_Create ) dwCreation |= CREATE_NEW; else |