Kaydet (Commit) fcf5192a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:implicitboolconversion

Change-Id: Ic7e42f50adf85266ae6b61cf152c99081be11d4a
üst 4943ee04
...@@ -121,7 +121,7 @@ void RemoveDisabledItemsFromNativeMenu(GLOMenu* pMenu, GList** pOldCommandList, ...@@ -121,7 +121,7 @@ void RemoveDisabledItemsFromNativeMenu(GLOMenu* pMenu, GList** pOldCommandList,
{ {
gchar* pCommand = g_lo_menu_get_command_from_item_in_section(pMenu, nSection, nSectionItems); gchar* pCommand = g_lo_menu_get_command_from_item_in_section(pMenu, nSection, nSectionItems);
// remove disabled entries // 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) if (!bRemove)
{ {
//also remove any empty submenus //also remove any empty submenus
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment