diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-28 14:16:28 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-28 14:16:28 +0100 |
commit | 787efbe6b155d6dde0d38000b108fd210471bb22 (patch) | |
tree | 57c7f07be96cc2441500a23d3ae91f555f853a11 /vcl | |
parent | 0fafb53d1c860388461f30e613a37c128c90ad79 (diff) |
loplugin:cstylecast (Mac OS X)
Change-Id: If1fd605c01fa892c7730930606a29a7bed9edb5e
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/quartz/ctfonts.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/quartz/ctfonts.cxx b/vcl/quartz/ctfonts.cxx index 5fb772b179ff..fd4231568fe0 100644 --- a/vcl/quartz/ctfonts.cxx +++ b/vcl/quartz/ctfonts.cxx @@ -324,7 +324,7 @@ ImplDevFontAttributes DevFontFromCTFontDescriptor( CTFontDescriptorRef pFD, bool // TODO: use other traits such as MonoSpace/Condensed/Expanded or Vertical too SInt64 nSymbolTrait = 0; CFNumberRef pSymbolNum = NULL; - if( CFDictionaryGetValueIfPresent( pAttrDict, kCTFontSymbolicTrait, (const void**)&pSymbolNum ) ) { + if( CFDictionaryGetValueIfPresent( pAttrDict, kCTFontSymbolicTrait, reinterpret_cast<const void**>(&pSymbolNum) ) ) { CFNumberGetValue( pSymbolNum, kCFNumberSInt64Type, &nSymbolTrait ); rDFA.SetSymbolFlag( ((nSymbolTrait & kCTFontClassMaskTrait) == kCTFontSymbolicClass) ); } |