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/unx/gtk/window/gloactiongroup.cxx | |
parent | 41982607d0c9b69efd5789762bbdae6c7301ee8b (diff) |
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: I17c57a85bcda98ef36ddefd6562d4681d0c7d5fc
Diffstat (limited to 'vcl/unx/gtk/window/gloactiongroup.cxx')
-rw-r--r-- | vcl/unx/gtk/window/gloactiongroup.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/gtk/window/gloactiongroup.cxx b/vcl/unx/gtk/window/gloactiongroup.cxx index 8cbc32622ce2..11145e3c44c3 100644 --- a/vcl/unx/gtk/window/gloactiongroup.cxx +++ b/vcl/unx/gtk/window/gloactiongroup.cxx @@ -320,10 +320,10 @@ g_lo_action_group_insert_stateful (GLOActionGroup *group, action->submenu = submenu; if (parameter_type) - action->parameter_type = (GVariantType*) parameter_type; + action->parameter_type = const_cast<GVariantType*>(parameter_type); if (state_type) - action->state_type = (GVariantType*) state_type; + action->state_type = const_cast<GVariantType*>(state_type); if (state_hint) action->state_hint = g_variant_ref_sink (state_hint); |