summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-10 08:00:26 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-10 08:00:26 +0100
commit629a705c127661111c54e14035b55850e36c2167 (patch)
treef7a610437d4ce4cc8ecf3fd9b67862a4d86fcbe8 /vcl/osx
parentf73e6a968e54f7d7b0669c0b002d8704ab9fbfe7 (diff)
loplugin:cstylecast
Change-Id: I9bfd611ef5451b936f2b7b4dda6dd8ede23832a4
Diffstat (limited to 'vcl/osx')
-rw-r--r--vcl/osx/salnativewidgets.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/osx/salnativewidgets.cxx b/vcl/osx/salnativewidgets.cxx
index 6b35c028e18a..cb8175ec124f 100644
--- a/vcl/osx/salnativewidgets.cxx
+++ b/vcl/osx/salnativewidgets.cxx
@@ -550,14 +550,14 @@ bool AquaSalGraphics::drawNativeControl(ControlType nType,
CGFloat unifiedHeight = rControlRegion.GetHeight();
CGRect drawRect = CGRectMake(rControlRegion.Left(), rControlRegion.Top(), rControlRegion.GetWidth(), rControlRegion.GetHeight());
CUIDraw([NSWindow coreUIRenderer], drawRect, mrContext,
- (CFDictionaryRef)[NSDictionary dictionaryWithObjectsAndKeys:
+ reinterpret_cast<CFDictionaryRef>([NSDictionary dictionaryWithObjectsAndKeys:
@"kCUIWidgetWindowFrame", @"widget",
@"regularwin", @"windowtype",
(bDrawActive ? @"normal" : @"inactive"), @"state",
[NSNumber numberWithDouble:unifiedHeight], @"kCUIWindowFrameUnifiedTitleBarHeightKey",
[NSNumber numberWithBool:NO], @"kCUIWindowFrameDrawTitleSeparatorKey",
[NSNumber numberWithBool:YES], @"is.flipped",
- nil],
+ nil]),
nil);;
}
else