summaryrefslogtreecommitdiff
path: root/vcl/quartz/ctfonts.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-08-07 08:12:26 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-08-07 08:12:26 +0200
commit5665259f2d7d696ce5e0566e367c7cf8420fe04d (patch)
treeb799a6df188cacc9d11dfeedf30082c73237fd78 /vcl/quartz/ctfonts.cxx
parent4535203c07559215a810f7252b3f250a7e7e1813 (diff)
loplugin:unnecessaryparen
Change-Id: I9496cafef840195e3934bf92600d4e8c8edb6c26
Diffstat (limited to 'vcl/quartz/ctfonts.cxx')
-rw-r--r--vcl/quartz/ctfonts.cxx2
1 files changed, 1 insertions, 1 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