diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-21 13:10:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-22 06:42:19 +0000 |
commit | c1877a16b38bfd74a52e39b49289d5f5572b610b (patch) | |
tree | aac6e79a4fc26a520ef1cd097bea7ba25d695695 /libreofficekit/source/gtk/tilebuffer.hxx | |
parent | f0c7cbe1d8505d3c1f5a2b2253efda35542c898b (diff) |
loplugin:unusedfields
Change-Id: I8a114bcda99f123d230d61b0d0595bfe657cc3c0
Reviewed-on: https://gerrit.libreoffice.org/34513
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'libreofficekit/source/gtk/tilebuffer.hxx')
-rw-r--r-- | libreofficekit/source/gtk/tilebuffer.hxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libreofficekit/source/gtk/tilebuffer.hxx b/libreofficekit/source/gtk/tilebuffer.hxx index 4fab28dab891..498ea3fecd65 100644 --- a/libreofficekit/source/gtk/tilebuffer.hxx +++ b/libreofficekit/source/gtk/tilebuffer.hxx @@ -90,10 +90,8 @@ private: class TileBuffer { public: - TileBuffer(LibreOfficeKitDocument *document = nullptr, - int columns = 0) - : m_pLOKDocument(document) - , m_nWidth(columns) + TileBuffer(int columns = 0) + : m_nWidth(columns) { cairo_surface_t *pSurface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, nTileSizePixels, nTileSizePixels); m_DummyTile.setSurface(pSurface); @@ -135,8 +133,6 @@ class TileBuffer */ void setInvalid(int x, int y, float zoom, GTask* task, GThreadPool*); - /// Contains the reference to the LOK Document that this tile buffer is for. - LibreOfficeKitDocument *m_pLOKDocument; /// Stores all the tiles cached by this tile buffer. std::map<int, Tile> m_mTiles; /// Width of the current tile buffer (number of columns) |