diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-11-27 15:02:28 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-11-27 21:06:21 +0100 |
commit | 2eb0cadf0395c60198e36307222de3dd1e7729a6 (patch) | |
tree | 13de18915f50783714a90545bcae7480ddcfc978 /tools | |
parent | c056f4ade7efec94d2cdc19c184486d834638df2 (diff) |
loplugin:unnecessaryparen (clang-cl)
Change-Id: I5452235287fd5986de25ee542edd57bf1abded52
Reviewed-on: https://gerrit.libreoffice.org/45338
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/stream/strmwnt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/stream/strmwnt.cxx b/tools/source/stream/strmwnt.cxx index 6a549deddcaa..8a626ecc7c76 100644 --- a/tools/source/stream/strmwnt.cxx +++ b/tools/source/stream/strmwnt.cxx @@ -293,9 +293,9 @@ void SvFileStream::Open( const OUString& rFilename, StreamMode nMode ) if( nMode & StreamMode::SHARE_DENYALL) nShareMode = 0; - if( (nMode & StreamMode::READ) ) + if( nMode & StreamMode::READ ) nAccessMode |= GENERIC_READ; - if( (nMode & StreamMode::WRITE) ) + if( nMode & StreamMode::WRITE ) nAccessMode |= GENERIC_WRITE; if( nAccessMode == GENERIC_READ ) // ReadOnly ? |