diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-21 15:50:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-22 07:39:04 +0100 |
commit | 09394116502c54c8c6bbb9ec18e9ad991b7db83b (patch) | |
tree | 439e9996ddaf6398e469cd78170370b42d73d069 /unoxml/source | |
parent | e0c9956a76514279a6df27f9752763e1ea20abbd (diff) |
loplugin:unusedfields in unoxml
Change-Id: I03655d967dc165885bb51e4a931930590632c32d
Reviewed-on: https://gerrit.libreoffice.org/68159
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unoxml/source')
-rw-r--r-- | unoxml/source/dom/node.cxx | 1 | ||||
-rw-r--r-- | unoxml/source/dom/saxbuilder.cxx | 6 | ||||
-rw-r--r-- | unoxml/source/dom/saxbuilder.hxx | 1 |
3 files changed, 1 insertions, 7 deletions
diff --git a/unoxml/source/dom/node.cxx b/unoxml/source/dom/node.cxx index 73e2b5985f48..f486182eca83 100644 --- a/unoxml/source/dom/node.cxx +++ b/unoxml/source/dom/node.cxx @@ -90,7 +90,6 @@ namespace DOM Context::Namespace aNS; aNS.maPrefix = prefix; aNS.mnToken = aIter->second; - aNS.maNamespaceURL = val; io_rContext.maNamespaces.back().push_back(aNS); diff --git a/unoxml/source/dom/saxbuilder.cxx b/unoxml/source/dom/saxbuilder.cxx index a8d1210c9c83..994a6c0392f6 100644 --- a/unoxml/source/dom/saxbuilder.cxx +++ b/unoxml/source/dom/saxbuilder.cxx @@ -191,12 +191,8 @@ namespace DOM m_aNodeStack.top()->appendChild(aInstruction); } - void SAL_CALL CSAXDocumentBuilder::setDocumentLocator( const Reference< XLocator >& xLocator ) + void SAL_CALL CSAXDocumentBuilder::setDocumentLocator( const Reference< XLocator >& ) { - ::osl::MutexGuard g(m_Mutex); - - // set the document locator... - m_aLocator = xLocator; } void SAL_CALL CSAXDocumentBuilder::startFastElement( sal_Int32 nElement , const Reference< XFastAttributeList >& xAttribs ) diff --git a/unoxml/source/dom/saxbuilder.hxx b/unoxml/source/dom/saxbuilder.hxx index e2279a0c24bb..e20b5ccb95a5 100644 --- a/unoxml/source/dom/saxbuilder.hxx +++ b/unoxml/source/dom/saxbuilder.hxx @@ -56,7 +56,6 @@ namespace DOM css::uno::Reference< css::xml::dom::XDocument > m_aDocument; css::uno::Reference< css::xml::dom::XDocumentFragment > m_aFragment; - css::uno::Reference< css::xml::sax::XLocator > m_aLocator; public: |