diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-22 19:36:09 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-22 19:36:51 +0100 |
commit | 3f075756588c23bf5a8e967b1d3a0e6670c3c279 (patch) | |
tree | f0e739bb01a499fbf436bd42f8114c4937277d4d /vcl/osx/salmenu.cxx | |
parent | 25442edcad1b0a2284cfaac6e5ed2bc17fb55478 (diff) |
loplugin:cstylecast (MACOSX)
Change-Id: Ia4c8920ce2ce44286c5042d4b5dbeaa41fe355cc
Diffstat (limited to 'vcl/osx/salmenu.cxx')
-rw-r--r-- | vcl/osx/salmenu.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/salmenu.cxx b/vcl/osx/salmenu.cxx index 6d2c6d83c4b0..a69d8847f0d5 100644 --- a/vcl/osx/salmenu.cxx +++ b/vcl/osx/salmenu.cxx @@ -246,7 +246,7 @@ AquaSalMenu::AquaSalMenu( bool bMenuBar ) : if( ! mbMenuBar ) { mpMenu = [[SalNSMenu alloc] initWithMenu: this]; - [mpMenu setDelegate: (id<NSMenuDelegate>)mpMenu]; + [mpMenu setDelegate: static_cast<id<NSMenuDelegate>>(mpMenu)]; } else { |