diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-05-06 18:19:31 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-05-06 18:31:10 +0300 |
commit | e1bc856e628e4a72bd90498d12b94f1d57f6d75d (patch) | |
tree | fdeb3f444e61bae38c7b57979cc86632e8815bf1 /unotools | |
parent | b4b10fc873ba38ea24da23d8a2235d3ab34d8c72 (diff) |
Fix indentation
Change-Id: If94971484109fb63d2e20af77d023e6552a02ba8
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/ucbhelper/tempfile.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/unotools/source/ucbhelper/tempfile.cxx b/unotools/source/ucbhelper/tempfile.cxx index 5591c310ac9e..2eb12fdcfc5b 100644 --- a/unotools/source/ucbhelper/tempfile.cxx +++ b/unotools/source/ucbhelper/tempfile.cxx @@ -91,12 +91,12 @@ bool ensuredir( const OUString& rUnqPath ) // returns ENOSYS in any case !! osl::Directory aDirectory( aPath ); #ifdef UNX -/* RW permission for the user only! */ - mode_t old_mode = umask(077); + /* RW permission for the user only! */ + mode_t old_mode = umask(077); #endif osl::FileBase::RC nError = aDirectory.open(); #ifdef UNX -umask(old_mode); + umask(old_mode); #endif aDirectory.close(); if( nError == osl::File::E_None ) @@ -299,12 +299,12 @@ void lcl_createName(TempFile_Impl& _rImpl,const OUString& rLeadingChars, bool _b { File aFile( aTmp ); #ifdef UNX -/* RW permission for the user only! */ - mode_t old_mode = umask(077); + /* RW permission for the user only! */ + mode_t old_mode = umask(077); #endif FileBase::RC err = aFile.open(osl_File_OpenFlag_Create); #ifdef UNX -umask(old_mode); + umask(old_mode); #endif if ( err == FileBase::E_None || err == FileBase::E_NOLCK ) { |