From 2fffaf6f05d829e345ad8b391646a6e8df9a9a26 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 25 Jul 2017 11:03:15 +0200 Subject: loplugin:unusedmethods Change-Id: Ia874baf21257e5fe41e104211068a2bcc50446eb Reviewed-on: https://gerrit.libreoffice.org/40391 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- xmlreader/source/xmlreader.cxx | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'xmlreader/source') diff --git a/xmlreader/source/xmlreader.cxx b/xmlreader/source/xmlreader.cxx index 3051555039f3..1c6bc45bb339 100644 --- a/xmlreader/source/xmlreader.cxx +++ b/xmlreader/source/xmlreader.cxx @@ -54,20 +54,6 @@ bool isSpace(char c) { } -XmlReader::XmlReader(char const *sStr, size_t nLength) - : fileUrl_("stream") - , fileHandle_(nullptr) - , fileSize_(0) - , fileAddress_(nullptr) -{ - namespaceIris_.push_back(Span("http://www.w3.org/XML/1998/namespace")); - namespaces_.push_back(NamespaceData(Span("xml"), NAMESPACE_XML)); - pos_ = sStr; - end_ = pos_ + nLength; - state_ = State::Content; - firstAttribute_ = true; -} - XmlReader::XmlReader(OUString const & fileUrl) : fileUrl_(fileUrl) , fileHandle_(nullptr) -- cgit