summaryrefslogtreecommitdiffstats
path: root/include/helpcompiler
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-30 11:45:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-30 13:06:54 +0100
commit9ee60319c675087486907707c8a2b18b5c9dc9fc (patch)
treed4accdcfe604efa91518f37a1283ea436ecc65b7 /include/helpcompiler
parentRotateFlyFrame: Isolate SwFrame members maFrame and maPrt (diff)
downloadcore-9ee60319c675087486907707c8a2b18b5c9dc9fc.tar.gz
core-9ee60319c675087486907707c8a2b18b5c9dc9fc.zip
loplugin:constmethod in idl,helpcompiler
Change-Id: I9b328fc0a3ebdd15a646ee6dab800ffbadb1aaef Reviewed-on: https://gerrit.libreoffice.org/44050 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/helpcompiler')
-rw-r--r--include/helpcompiler/HelpIndexer.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/helpcompiler/HelpIndexer.hxx b/include/helpcompiler/HelpIndexer.hxx
index 869fe535ab7f..832780f6b1d2 100644
--- a/include/helpcompiler/HelpIndexer.hxx
+++ b/include/helpcompiler/HelpIndexer.hxx
@@ -59,7 +59,7 @@ class L10N_DLLPUBLIC HelpIndexer {
/**
* Get the error string (empty if no error occurred).
*/
- OUString const & getErrorMessage() { return d_error;}
+ OUString const & getErrorMessage() const { return d_error;}
private:
@@ -71,17 +71,17 @@ class L10N_DLLPUBLIC HelpIndexer {
/**
* Scan for files in the given directory.
*/
- bool scanForFiles(OUString const &path);
+ bool scanForFiles(OUString const &path);
/**
* Fill the Document with information on the given help file.
*/
- void helpDocument(OUString const & fileName, lucene::document::Document *doc);
+ void helpDocument(OUString const & fileName, lucene::document::Document *doc) const;
/**
* Create a reader for the given file, and create an "empty" reader in case the file doesn't exist.
*/
- static lucene::util::Reader *helpFileReader(OUString const & path);
+ static lucene::util::Reader *helpFileReader(OUString const & path);
};
#endif