vcl/unx/gtk/gtksalmenu.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit fcf5192a54fa148110c51229913547f2521cff50 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Feb 25 08:47:58 2016 +0100 loplugin:implicitboolconversion Change-Id: Ic7e42f50adf85266ae6b61cf152c99081be11d4a diff --git a/vcl/unx/gtk/gtksalmenu.cxx b/vcl/unx/gtk/gtksalmenu.cxx index ad7ddd9..92f32b9 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits