diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-15 13:57:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-17 15:06:52 +0200 |
commit | 8914595d4623390e4bac9ebbdf0d5ae9ab69aa8a (patch) | |
tree | 2fe937925e9cde3e835119c57f12807bc1f419db /vcl/unx/generic/gdi | |
parent | d69795b9c9d2dac7b751c6fe8b4663c0c26a129b (diff) |
loplugin:unusedfields in vcl part1
Change-Id: I67d176003f39992cd0ff9271a7d6ce26d2cb6619
Reviewed-on: https://gerrit.libreoffice.org/38828
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/unx/generic/gdi')
-rw-r--r-- | vcl/unx/generic/gdi/cairo_xlib_cairo.cxx | 3 | ||||
-rw-r--r-- | vcl/unx/generic/gdi/salgdi.cxx | 5 |
2 files changed, 0 insertions, 8 deletions
diff --git a/vcl/unx/generic/gdi/cairo_xlib_cairo.cxx b/vcl/unx/generic/gdi/cairo_xlib_cairo.cxx index 4ee1eec061cc..803c02343958 100644 --- a/vcl/unx/generic/gdi/cairo_xlib_cairo.cxx +++ b/vcl/unx/generic/gdi/cairo_xlib_cairo.cxx @@ -65,10 +65,7 @@ namespace cairo {} X11SysData::X11SysData( const SystemGraphicsData& pSysDat ) : - pDisplay(pSysDat.pDisplay), hDrawable(pSysDat.hDrawable), - pVisual(pSysDat.pVisual), - nScreen(pSysDat.nScreen), pRenderFormat(pSysDat.pXRenderFormat) {} diff --git a/vcl/unx/generic/gdi/salgdi.cxx b/vcl/unx/generic/gdi/salgdi.cxx index 4dab907e01d6..b231dfc8f478 100644 --- a/vcl/unx/generic/gdi/salgdi.cxx +++ b/vcl/unx/generic/gdi/salgdi.cxx @@ -490,12 +490,7 @@ SystemGraphicsData X11SalGraphics::GetGraphicsData() const SystemGraphicsData aRes; aRes.nSize = sizeof(aRes); - aRes.pDisplay = GetXDisplay(); aRes.hDrawable = hDrawable_; - aRes.pVisual = GetVisual().visual; - aRes.nScreen = m_nXScreen.getXScreen(); - aRes.nDepth = GetBitCount(); - aRes.aColormap = GetColormap().GetXColormap(); aRes.pXRenderFormat = m_pXRenderFormat; return aRes; } |