diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-15 16:02:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-16 08:26:04 +0200 |
commit | a975624bfeeb08670b90944eda372d6d4755ae34 (patch) | |
tree | ca4a79214d2f8004aa68d98e1761ff52dc2ba79d /unoxml | |
parent | 83f9325f0d8d643d8b3e71fa3ff76ebbd599373d (diff) |
loplugin:unusedfields in tools..vbahelper
Change-Id: Ief7d4c8e1866604eda6308ea2a5c1ce4b1c093bc
Reviewed-on: https://gerrit.libreoffice.org/38836
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/source/dom/documentbuilder.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/unoxml/source/dom/documentbuilder.cxx b/unoxml/source/dom/documentbuilder.cxx index 006e5c7fe086..5f3530395bfe 100644 --- a/unoxml/source/dom/documentbuilder.cxx +++ b/unoxml/source/dom/documentbuilder.cxx @@ -180,7 +180,6 @@ namespace DOM // context struct passed to IO functions typedef struct context { - CDocumentBuilder *pBuilder; Reference< XInputStream > rInputStream; bool close; bool freeOnClose; @@ -247,7 +246,6 @@ namespace DOM // when IO is actually performed through the callbacks. The close function must // free the memory which is indicated by the freeOnClose field in the context struct context_t *c = new context_t; - c->pBuilder = builder; c->rInputStream = src.aInputStream; c->close = true; c->freeOnClose = true; @@ -316,7 +314,6 @@ namespace DOM // IO context struct. Must outlive pContext, as destroying that via // xmlFreeParserCtxt may still access this context_t context_t c; - c.pBuilder = this; c.rInputStream = is; // we did not open the stream, thus we do not close it. c.close = false; |