diff options
author | Mikhail Voytenko <mav@openoffice.org> | 2010-11-18 15:48:20 +0100 |
---|---|---|
committer | Mikhail Voytenko <mav@openoffice.org> | 2010-11-18 15:48:20 +0100 |
commit | 7a2d252ecfb4503de90388f938145e96aa41e3f5 (patch) | |
tree | 947de55ccab567bad2458bab87af8c9b4fe8bdbb /unotools/source | |
parent | 2a0841f9fb80078ce623cd00cbb8be48ecba9b6a (diff) |
fwk160: #i107511# do not lock the file without necessity
Diffstat (limited to 'unotools/source')
-rw-r--r-- | unotools/source/ucbhelper/tempfile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/ucbhelper/tempfile.cxx b/unotools/source/ucbhelper/tempfile.cxx index 87fddc0c65cd..26742151ee3d 100644 --- a/unotools/source/ucbhelper/tempfile.cxx +++ b/unotools/source/ucbhelper/tempfile.cxx @@ -237,7 +237,7 @@ void CreateTempName_Impl( String& rName, sal_Bool bKeep, sal_Bool bDir = sal_Tru /* RW permission for the user only! */ mode_t old_mode = umask(077); #endif - FileBase::RC err = aFile.open(osl_File_OpenFlag_Create); + FileBase::RC err = aFile.open( osl_File_OpenFlag_Create | osl_File_OpenFlag_NoLock ); #ifdef UNX umask(old_mode); #endif |