diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:32:26 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:33:40 +0100 |
commit | 513fc2916053db5ee7ffaf9f53c271a05cef8981 (patch) | |
tree | 7f24849841f33f3e1b2737762548c8525bca780e /vcl/source/window/menu.cxx | |
parent | 41982607d0c9b69efd5789762bbdae6c7301ee8b (diff) |
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: I17c57a85bcda98ef36ddefd6562d4681d0c7d5fc
Diffstat (limited to 'vcl/source/window/menu.cxx')
-rw-r--r-- | vcl/source/window/menu.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index 5de3bb66120d..8cdcd0f7f346 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -2364,7 +2364,7 @@ void Menu::ImplSetSalMenu( SalMenu *pSalMenu ) bool Menu::GetSystemMenuData( SystemMenuData* pData ) const { - Menu* pMenu = (Menu*)this; + Menu* pMenu = const_cast<Menu*>(this); if( pData && pMenu->ImplGetSalMenu() ) { pMenu->ImplGetSalMenu()->GetSystemMenuData( pData ); |