diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-02-14 20:26:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-02-14 20:27:11 +0000 |
commit | 19fb09dce67d29d480ff39c538209b887f661dc9 (patch) | |
tree | a386532cad8075f26ef5ad243b100db731e406be | |
parent | 58ec66da422e5ac6aec5cbd28403039cded7c7ed (diff) |
coverity#1352217 Logically dead code
Change-Id: Ia4ca58ca67936a558b3157daae6a663ef81a81bf
-rw-r--r-- | vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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, |