diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-01-30 14:28:53 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-01-31 10:59:40 +0100 |
commit | 553fcbbb39a674df34475fc92a1ee3410d68c215 (patch) | |
tree | a2b5d19157543f465b916fb1a799fe13ad3fa6ca /tools/source/stream | |
parent | 8da8cc3c9322e4b9438bbb5f4a80af80dbbfe008 (diff) |
loplugin:unnecessaryparen (clang-cl)
Change-Id: I0cd14e0ace9c9d2fcd880477b0485295e3010b71
Reviewed-on: https://gerrit.libreoffice.org/67138
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'tools/source/stream')
-rw-r--r-- | tools/source/stream/strmwnt.cxx | 2 |
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 |