summaryrefslogtreecommitdiff
path: root/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 /helpcompiler
parent4eec79bb376b64a9a90de4b6540c90776d3dba32 (diff)
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 'helpcompiler')
-rw-r--r--helpcompiler/inc/BasCodeTagger.hxx2
-rw-r--r--helpcompiler/source/BasCodeTagger.cxx2
-rw-r--r--helpcompiler/source/HelpIndexer.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/helpcompiler/inc/BasCodeTagger.hxx b/helpcompiler/inc/BasCodeTagger.hxx
index ae180fa7451c..d8dbffa4cd49 100644
--- a/helpcompiler/inc/BasCodeTagger.hxx
+++ b/helpcompiler/inc/BasCodeTagger.hxx
@@ -56,7 +56,7 @@ class L10N_DLLPUBLIC LibXmlTreeWalker
LibXmlTreeWalker( xmlDocPtr doc );
void nextNode();
xmlNodePtr currentNode() { return m_pCurrentNode;}
- bool end();
+ bool end() const;
void ignoreCurrNodesChildren();
};
diff --git a/helpcompiler/source/BasCodeTagger.cxx b/helpcompiler/source/BasCodeTagger.cxx
index b472ac6dc2b6..20a4f1bb8061 100644
--- a/helpcompiler/source/BasCodeTagger.cxx
+++ b/helpcompiler/source/BasCodeTagger.cxx
@@ -43,7 +43,7 @@ void LibXmlTreeWalker::ignoreCurrNodesChildren()
m_Queue.pop_back();
}
-bool LibXmlTreeWalker::end()
+bool LibXmlTreeWalker::end() const
{
return m_pCurrentNode->next == nullptr && m_Queue.empty();
}
diff --git a/helpcompiler/source/HelpIndexer.cxx b/helpcompiler/source/HelpIndexer.cxx
index 5e016fb0ff6e..51966f4c71dc 100644
--- a/helpcompiler/source/HelpIndexer.cxx
+++ b/helpcompiler/source/HelpIndexer.cxx
@@ -110,7 +110,7 @@ bool HelpIndexer::scanForFiles(OUString const & path) {
return true;
}
-void HelpIndexer::helpDocument(OUString const & fileName, Document *doc) {
+void HelpIndexer::helpDocument(OUString const & fileName, Document *doc) const {
// Add the help path as an indexed, untokenized field.
OUString path = "#HLP#" + d_module + "/" + fileName;