diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-02-25 08:47:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-02-25 08:47:58 +0100 |
commit | fcf5192a54fa148110c51229913547f2521cff50 (patch) | |
tree | 4f07a409a5c1407410eae10b7e503d428a83f24e /vcl/unx | |
parent | 4943ee042ac487bc9be4477fed7effa8ea9f74d4 (diff) |
loplugin:implicitboolconversion
Change-Id: Ic7e42f50adf85266ae6b61cf152c99081be11d4a
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/gtk/gtksalmenu.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk/gtksalmenu.cxx b/vcl/unx/gtk/gtksalmenu.cxx index ad7ddd91f863..92f32b948700 100644 --- a/vcl/unx/gtk/gtksalmenu.cxx +++ b/vcl/unx/gtk/gtksalmenu.cxx @@ -121,7 +121,7 @@ void RemoveDisabledItemsFromNativeMenu(GLOMenu* pMenu, GList** pOldCommandList, { gchar* pCommand = g_lo_menu_get_command_from_item_in_section(pMenu, nSection, nSectionItems); // remove disabled entries - bool bRemove = g_action_group_get_action_enabled(pActionGroup, pCommand) == FALSE; + bool bRemove = !g_action_group_get_action_enabled(pActionGroup, pCommand); if (!bRemove) { //also remove any empty submenus |