From 19fb09dce67d29d480ff39c538209b887f661dc9 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 14 Feb 2016 20:26:31 +0000 Subject: coverity#1352217 Logically dead code Change-Id: Ia4ca58ca67936a558b3157daae6a663ef81a81bf --- vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx index 47159954a9d9..8cdb67be98b4 100644 --- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx @@ -1614,7 +1614,7 @@ bool GtkSalGraphics::getNativeControlRegion( ControlType nType, ControlPart nPar { indicator_size = 0; - GtkStyleContext *pMenuItemStyle = (nType == PART_MENU_ITEM_CHECK_MARK ) ? mpCheckMenuItemStyle : mpRadioMenuItemStyle; + GtkStyleContext *pMenuItemStyle = (nPart == PART_MENU_ITEM_CHECK_MARK ) ? mpCheckMenuItemStyle : mpRadioMenuItemStyle; gtk_style_context_get_style( pMenuItemStyle, "indicator-size", &indicator_size, -- cgit