summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-21 15:50:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-22 07:39:04 +0100
commit09394116502c54c8c6bbb9ec18e9ad991b7db83b (patch)
tree439e9996ddaf6398e469cd78170370b42d73d069 /unoxml
parente0c9956a76514279a6df27f9752763e1ea20abbd (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')
-rw-r--r--unoxml/inc/node.hxx1
-rw-r--r--unoxml/source/dom/node.cxx1
-rw-r--r--unoxml/source/dom/saxbuilder.cxx6
-rw-r--r--unoxml/source/dom/saxbuilder.hxx1
4 files changed, 1 insertions, 8 deletions
diff --git a/unoxml/inc/node.hxx b/unoxml/inc/node.hxx
index ebfcd9bf15d4..216f80eda3d5 100644
--- a/unoxml/inc/node.hxx
+++ b/unoxml/inc/node.hxx
@@ -64,7 +64,6 @@ namespace DOM
{
OString maPrefix;
sal_Int32 mnToken;
- OUString maNamespaceURL;
const OString& getPrefix() const { return maPrefix; }
};
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: