diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-11-06 09:45:37 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-06 12:15:56 +0000 |
commit | 95965034e3ce5e559f0338a65753aaa5dd02937e (patch) | |
tree | a31a16bb70777d9b1fe79186d5461df88cdd8b2a /helpcompiler | |
parent | f36c2939be2305dc9dabd73385397ddf003204ee (diff) |
coverity#1338258 Uncaught exception
Change-Id: I61032db81c012f2120bdd971111155d660eef5b4
Diffstat (limited to 'helpcompiler')
-rw-r--r-- | helpcompiler/inc/HelpCompiler.hxx | 2 | ||||
-rw-r--r-- | helpcompiler/source/HelpCompiler.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/helpcompiler/inc/HelpCompiler.hxx b/helpcompiler/inc/HelpCompiler.hxx index 6982b11eea14..b2ea7518a655 100644 --- a/helpcompiler/inc/HelpCompiler.hxx +++ b/helpcompiler/inc/HelpCompiler.hxx @@ -231,7 +231,7 @@ public: const std::string &in_module, const std::string &in_lang, bool in_bExtensionMode); - bool compile() throw (HelpProcessingException, BasicCodeTagger::TaggerException); + bool compile() throw (HelpProcessingException, BasicCodeTagger::TaggerException, std::exception); private: xmlDocPtr getSourceDocument(const fs::path &filePath); static void tagBasicCodeExamples(xmlDocPtr doc); diff --git a/helpcompiler/source/HelpCompiler.cxx b/helpcompiler/source/HelpCompiler.cxx index 2f67295783c5..c4a3eaa34282 100644 --- a/helpcompiler/source/HelpCompiler.cxx +++ b/helpcompiler/source/HelpCompiler.cxx @@ -437,7 +437,7 @@ void myparser::traverse( xmlNodePtr parentNode ) } bool HelpCompiler::compile() - throw (HelpProcessingException, BasicCodeTagger::TaggerException) + throw (HelpProcessingException, BasicCodeTagger::TaggerException, std::exception) { // we now have the jaroutputstream, which will contain the document. // now determine the document as a dom tree in variable docResolved |