summaryrefslogtreecommitdiff
path: root/helpcompiler/source/HelpCompiler.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-26 12:20:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-27 08:28:27 +0200
commite6d79e896c540c3e758ebc4b730ca71987c2cee6 (patch)
tree5adbfa33c1503995f0b200771ae9beb0066a6a96 /helpcompiler/source/HelpCompiler.cxx
parent1a400fc39023bcf471a6d4448acbf1a2afcb274c (diff)
loplugin:returnconstant in helpcompiler
and fix scanForFiles to return false on error Change-Id: I246e906de9985947be421d361340874c94a2102d Reviewed-on: https://gerrit.libreoffice.org/58085 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'helpcompiler/source/HelpCompiler.cxx')
-rw-r--r--helpcompiler/source/HelpCompiler.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/helpcompiler/source/HelpCompiler.cxx b/helpcompiler/source/HelpCompiler.cxx
index 8cfdcecfa539..5abbdc648f41 100644
--- a/helpcompiler/source/HelpCompiler.cxx
+++ b/helpcompiler/source/HelpCompiler.cxx
@@ -439,7 +439,7 @@ void myparser::traverse( xmlNodePtr parentNode )
}
}
-bool HelpCompiler::compile()
+void HelpCompiler::compile()
{
// we now have the jaroutputstream, which will contain the document.
// now determine the document as a dom tree in variable docResolved
@@ -503,7 +503,6 @@ bool HelpCompiler::compile()
}
streamTable.document_module = actMod;
xmlFreeDoc(docResolvedOrg);
- return true;
}
namespace fs