[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara
caolanm at redhat.com
Sun Feb 14 20:27:55 UTC 2016
vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 19fb09dce67d29d480ff39c538209b887f661dc9
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Feb 14 20:26:31 2016 +0000
coverity#1352217 Logically dead code
Change-Id: Ia4ca58ca67936a558b3157daae6a663ef81a81bf
diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
index 4715995..8cdb67b 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,
More information about the Libreoffice-commits
mailing list