summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorHans-Joachim Lankenau <hjs@openoffice.org>2010-12-17 17:08:13 +0100
committerHans-Joachim Lankenau <hjs@openoffice.org>2010-12-17 17:08:13 +0100
commit7997ab5bac6fbdfe3b3427c322507a993d33acbc (patch)
treeea48cb453c32b7fafda1ff64a346273c101b3119 /unotools
parentead660b6d07b35430924f7e35d523710dbb73058 (diff)
parentcb57d9d6e20e1d4846730f7242c4550c224e16ba (diff)
CWS-TOOLING: integrate CWS fwk160
Notes
Notes: split repo tag: libs-gui_ooo/DEV300_m96
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/ucbhelper/tempfile.cxx2
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