summaryrefslogtreecommitdiff
path: root/tools/source/stream
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/stream')
-rw-r--r--tools/source/stream/strmwnt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/stream/strmwnt.cxx b/tools/source/stream/strmwnt.cxx
index 74e570367ab7..a0aa5c769b1c 100644
--- a/tools/source/stream/strmwnt.cxx
+++ b/tools/source/stream/strmwnt.cxx
@@ -343,7 +343,7 @@ void SvFileStream::Open( const OUString& rFilename, StreamMode nMode )
ErrCode nErr = ::GetSvError( GetLastError() );
if(nErr==SVSTREAM_ACCESS_DENIED || nErr==SVSTREAM_SHARING_VIOLATION)
{
- nMode &= (~StreamMode::WRITE);
+ nMode &= ~StreamMode::WRITE;
nAccessMode = GENERIC_READ;
// OV, 28.1.97: Win32 sets file to length 0
// if Openaction is CREATE_ALWAYS