summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-12 11:13:59 +0200
committerNoel Grandin <noel@peralex.com>2016-01-12 11:47:52 +0200
commite5bb67f08d4e2095affc5229e638535376ee66b4 (patch)
tree82c7adaf1481357efe37d0c0fb05d912e4faf4a9 /include
parent5f3d9ba0cdd82ef1e8be9b80ae8054c24653e058 (diff)
loplugin:unusedmethods unused return value in include/helpcompiler
Change-Id: Ieebbd896bf1ad66cd1950456ca1600f0dd8cda83
Diffstat (limited to 'include')
-rw-r--r--include/helpcompiler/HelpIndexer.hxx2
-rw-r--r--include/helpcompiler/HelpSearch.hxx2
2 files changed, 2 insertions, 2 deletions
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<OUString> &rDocuments, std::vector<float> &rScores);
};