diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-26 12:20:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-27 08:28:27 +0200 |
commit | e6d79e896c540c3e758ebc4b730ca71987c2cee6 (patch) | |
tree | 5adbfa33c1503995f0b200771ae9beb0066a6a96 /helpcompiler/inc | |
parent | codemaker: avoid -Werror=deprecated-copy (GCC trunk towards GCC 9) (diff) | |
download | core-e6d79e896c540c3e758ebc4b730ca71987c2cee6.tar.gz core-e6d79e896c540c3e758ebc4b730ca71987c2cee6.zip |
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/inc')
-rw-r--r-- | helpcompiler/inc/HelpCompiler.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpcompiler/inc/HelpCompiler.hxx b/helpcompiler/inc/HelpCompiler.hxx index dbc76764e35b..31ef2c0c2076 100644 --- a/helpcompiler/inc/HelpCompiler.hxx +++ b/helpcompiler/inc/HelpCompiler.hxx @@ -218,7 +218,7 @@ public: bool in_bExtensionMode); /// @throws HelpProcessingException /// @throws BasicCodeTagger::TaggerException - bool compile(); + void compile(); private: xmlDocPtr getSourceDocument(const fs::path &filePath); static void tagBasicCodeExamples(xmlDocPtr doc); |