From a975624bfeeb08670b90944eda372d6d4755ae34 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 15 Jun 2017 16:02:03 +0200 Subject: loplugin:unusedfields in tools..vbahelper Change-Id: Ief7d4c8e1866604eda6308ea2a5c1ce4b1c093bc Reviewed-on: https://gerrit.libreoffice.org/38836 Tested-by: Jenkins Reviewed-by: Noel Grandin --- unoxml/source/dom/documentbuilder.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'unoxml') 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; -- cgit