[Libreoffice-commits] core.git: vcl/osx
Stephan Bergmann
sbergman at redhat.com
Thu Nov 23 12:55:32 UTC 2017
vcl/osx/salframe.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 1db2cdd97155f690fa9e08911c20ea3d246418dc
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Nov 23 13:55:01 2017 +0100
loplugin:unnecessaryparen
Change-Id: Iddf5ed0a611f6dec4d30d056729dfd6dcd1f37d9
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];
More information about the Libreoffice-commits
mailing list