From 8914595d4623390e4bac9ebbdf0d5ae9ab69aa8a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 15 Jun 2017 13:57:36 +0200 Subject: loplugin:unusedfields in vcl part1 Change-Id: I67d176003f39992cd0ff9271a7d6ce26d2cb6619 Reviewed-on: https://gerrit.libreoffice.org/38828 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/unx/gtk/gtkobject.cxx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'vcl/unx/gtk/gtkobject.cxx') diff --git a/vcl/unx/gtk/gtkobject.cxx b/vcl/unx/gtk/gtkobject.cxx index f7c14d08bb9f..42be736bcd25 100644 --- a/vcl/unx/gtk/gtkobject.cxx +++ b/vcl/unx/gtk/gtkobject.cxx @@ -54,15 +54,11 @@ GtkSalObject::GtkSalObject( GtkSalFrame* pParent, bool bShow ) SalDisplay* pDisp = vcl_sal::getSalDisplay(GetGenericData()); m_aSystemData.pDisplay = pDisp->GetDisplay(); m_aSystemData.pVisual = pDisp->GetVisual(pParent->getXScreenNumber()).GetVisual(); - m_aSystemData.nDepth = pDisp->GetVisual(pParent->getXScreenNumber()).GetDepth(); - m_aSystemData.aColormap = pDisp->GetColormap(pParent->getXScreenNumber()).GetXColormap(); m_aSystemData.aWindow = GDK_WINDOW_XWINDOW(widget_get_window(m_pSocket)); m_aSystemData.aShellWindow = GDK_WINDOW_XWINDOW(widget_get_window(GTK_WIDGET(pParent->getWindow()))); m_aSystemData.pSalFrame = nullptr; m_aSystemData.pWidget = m_pSocket; m_aSystemData.nScreen = pParent->getXScreenNumber().getXScreen(); - m_aSystemData.pAppContext = nullptr; - m_aSystemData.pShellWidget = GTK_WIDGET(pParent->getWindow()); m_aSystemData.pToolkit = "gtk2"; g_signal_connect( G_OBJECT(m_pSocket), "button-press-event", G_CALLBACK(signalButton), this ); -- cgit