diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-08-07 08:12:26 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-08-07 08:12:26 +0200 |
commit | 5665259f2d7d696ce5e0566e367c7cf8420fe04d (patch) | |
tree | b799a6df188cacc9d11dfeedf30082c73237fd78 /vcl/quartz | |
parent | 4535203c07559215a810f7252b3f250a7e7e1813 (diff) |
loplugin:unnecessaryparen
Change-Id: I9496cafef840195e3934bf92600d4e8c8edb6c26
Diffstat (limited to 'vcl/quartz')
-rw-r--r-- | vcl/quartz/ctfonts.cxx | 2 | ||||
-rw-r--r-- | vcl/quartz/salbmp.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/quartz/ctfonts.cxx b/vcl/quartz/ctfonts.cxx index 1146f3431ab0..e235c5d223b9 100644 --- a/vcl/quartz/ctfonts.cxx +++ b/vcl/quartz/ctfonts.cxx @@ -379,7 +379,7 @@ FontAttributes DevFontFromCTFontDescriptor( CTFontDescriptorRef pFD, bool* bFont if( CFDictionaryGetValueIfPresent( pAttrDict, kCTFontSymbolicTrait, reinterpret_cast<const void**>(&pSymbolNum) ) ) { CFNumberGetValue( pSymbolNum, kCFNumberSInt64Type, &nSymbolTrait ); - rDFA.SetSymbolFlag( ((nSymbolTrait & kCTFontClassMaskTrait) == kCTFontSymbolicClass) ); + rDFA.SetSymbolFlag( (nSymbolTrait & kCTFontClassMaskTrait) == kCTFontSymbolicClass ); } // get the font weight diff --git a/vcl/quartz/salbmp.cxx b/vcl/quartz/salbmp.cxx index 5d358964e7cd..fe8aa8920f7b 100644 --- a/vcl/quartz/salbmp.cxx +++ b/vcl/quartz/salbmp.cxx @@ -495,7 +495,7 @@ public: virtual void SkipPixel( sal_uInt32 nPixel ) override { mnX += nPixel; - if( (nPixel & 1) ) + if( nPixel & 1 ) { mnShift ^= 4; } |