From 553fcbbb39a674df34475fc92a1ee3410d68c215 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 30 Jan 2019 14:28:53 +0100 Subject: loplugin:unnecessaryparen (clang-cl) Change-Id: I0cd14e0ace9c9d2fcd880477b0485295e3010b71 Reviewed-on: https://gerrit.libreoffice.org/67138 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- tools/source/stream/strmwnt.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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 -- cgit