diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-11-23 13:55:01 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-11-23 13:55:01 +0100 |
commit | 1db2cdd97155f690fa9e08911c20ea3d246418dc (patch) | |
tree | 96dca6a13c0ed2de036c892748578ea7753121aa | |
parent | 9017fee65712dd99cfeb14b55dea3fafb80134c9 (diff) |
loplugin:unnecessaryparen
Change-Id: Iddf5ed0a611f6dec4d30d056729dfd6dcd1f37d9
-rw-r--r-- | vcl/osx/salframe.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx index 4b96443e72bf..9bf63720dbef 100644 --- a/vcl/osx/salframe.cxx +++ b/vcl/osx/salframe.cxx @@ -178,15 +178,15 @@ SAL_WNODEPRECATED_DECLARATIONS_PUSH } else { - if( (mnStyle & SalFrameStyleFlags::MOVEABLE) ) + if( mnStyle & SalFrameStyleFlags::MOVEABLE ) { mnStyleMask |= NSTitledWindowMask; if( mpParent == nullptr ) mnStyleMask |= NSMiniaturizableWindowMask; } - if( (mnStyle & SalFrameStyleFlags::SIZEABLE) ) + if( mnStyle & SalFrameStyleFlags::SIZEABLE ) mnStyleMask |= NSResizableWindowMask; - if( (mnStyle & SalFrameStyleFlags::CLOSEABLE) ) + if( mnStyle & SalFrameStyleFlags::CLOSEABLE ) mnStyleMask |= NSClosableWindowMask; // documentation says anything other than NSBorderlessWindowMask (=0) // should also include NSTitledWindowMask; @@ -206,7 +206,7 @@ SAL_WNODEPRECATED_DECLARATIONS_POP return; } - if( (mnStyle & SalFrameStyleFlags::TOOLTIP) ) + if( mnStyle & SalFrameStyleFlags::TOOLTIP ) [mpNSWindow setIgnoresMouseEvents: YES]; else [mpNSWindow setAcceptsMouseMovedEvents: YES]; |