vcl/unx/gtk/gtksalmenu.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 6eb91bdf75fe0085584efa6abf955c14c7acb9fd Author: Tor Lillqvist <[email protected]> Date: Wed Mar 16 09:12:25 2016 +0200 loplugin:implicitboolconversion Change-Id: I9edc0d2e478f83e39e93e70e6c05c77b0125aad0 diff --git a/vcl/unx/gtk/gtksalmenu.cxx b/vcl/unx/gtk/gtksalmenu.cxx index 48520c2..2044155 100644 --- a/vcl/unx/gtk/gtksalmenu.cxx +++ b/vcl/unx/gtk/gtksalmenu.cxx @@ -848,7 +848,7 @@ bool GtkSalMenu::NativeSetItemCommand( unsigned nSection, if ( aCurrentCommand == nullptr || g_strcmp0( aCurrentCommand, aCommand ) != 0 ) { bool bOldHasSubmenu = g_lo_menu_get_submenu_from_item_in_section(pMenu, nSection, nItemPos) != nullptr; - bSubMenuAddedOrRemoved = bOldHasSubmenu != bIsSubmenu; + bSubMenuAddedOrRemoved = static_cast<gboolean>(bOldHasSubmenu) != bIsSubmenu; if (bSubMenuAddedOrRemoved) { //tdf#98636 its not good enough to unset the "submenu-action" attribute to change something _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
