[Libreoffice-commits] core.git: vcl/unx

Tor Lillqvist tml at collabora.com
Wed Feb 24 22:02:42 UTC 2016


 vcl/unx/gtk/gtksalmenu.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit aaca25d67eb5ea252730cdcf555ecc04ce04a5e6
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Feb 24 23:38:27 2016 +0200

    loplugin:implicitboolconversion
    
    Change-Id: I5278a44d9d492d04618068afd1610358bb4b4d5c

diff --git a/vcl/unx/gtk/gtksalmenu.cxx b/vcl/unx/gtk/gtksalmenu.cxx
index 772d080..ad7ddd9 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) == FALSE;
             if (!bRemove)
             {
                 //also remove any empty submenus


More information about the Libreoffice-commits mailing list