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 --- include/helpcompiler/HelpIndexer.hxx | 2 +- include/helpcompiler/HelpSearch.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include/helpcompiler') diff --git a/include/helpcompiler/HelpIndexer.hxx b/include/helpcompiler/HelpIndexer.hxx index 5a73358728e0..65f77878ed12 100644 --- a/include/helpcompiler/HelpIndexer.hxx +++ b/include/helpcompiler/HelpIndexer.hxx @@ -76,7 +76,7 @@ class L10N_DLLPUBLIC HelpIndexer { /** * Fill the Document with information on the given help file. */ - bool helpDocument(OUString const & fileName, lucene::document::Document *doc); + void helpDocument(OUString const & fileName, lucene::document::Document *doc); /** * Create a reader for the given file, and create an "empty" reader in case the file doesn't exist. diff --git a/include/helpcompiler/HelpSearch.hxx b/include/helpcompiler/HelpSearch.hxx index a1ce783ef6ae..639bbb2f585a 100644 --- a/include/helpcompiler/HelpSearch.hxx +++ b/include/helpcompiler/HelpSearch.hxx @@ -33,7 +33,7 @@ class L10N_DLLPUBLIC HelpSearch{ * @param rDocuments Vector to write the paths of the found documents. * @param rScores Vector to write the scores to. */ - bool query(OUString const &queryStr, bool captionOnly, + void query(OUString const &queryStr, bool captionOnly, std::vector &rDocuments, std::vector &rScores); }; -- cgit v1.2.3