From e5bb67f08d4e2095affc5229e638535376ee66b4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 12 Jan 2016 11:13:59 +0200 Subject: loplugin:unusedmethods unused return value in include/helpcompiler Change-Id: Ieebbd896bf1ad66cd1950456ca1600f0dd8cda83 --- helpcompiler/source/HelpIndexer.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'helpcompiler/source/HelpIndexer.cxx') diff --git a/helpcompiler/source/HelpIndexer.cxx b/helpcompiler/source/HelpIndexer.cxx index 63cf85af5c0a..e6a26fce3d28 100644 --- a/helpcompiler/source/HelpIndexer.cxx +++ b/helpcompiler/source/HelpIndexer.cxx @@ -110,7 +110,7 @@ bool HelpIndexer::scanForFiles(OUString const & path) { return true; } -bool HelpIndexer::helpDocument(OUString const & fileName, Document *doc) { +void HelpIndexer::helpDocument(OUString const & fileName, Document *doc) { // Add the help path as an indexed, untokenized field. OUString path = "#HLP#" + d_module + "/" + fileName; @@ -128,8 +128,6 @@ bool HelpIndexer::helpDocument(OUString const & fileName, Document *doc) { // Add the content as a field. OUString contentPath = d_contentDir + "/" + sEscapedFileName; doc->add(*_CLNEW Field(_T("content"), helpFileReader(contentPath), Field::STORE_NO | Field::INDEX_TOKENIZED)); - - return true; } lucene::util::Reader *HelpIndexer::helpFileReader(OUString const & path) { -- cgit v1.2.3