From 3cd26a85e3e30c4e75f8ec81a76c48bb16cef1ee Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 10 Jun 2014 15:12:34 +0100 Subject: coverity#983682 Uncaught exception Change-Id: Ie5c7ce0ba499ce67365c5e2079a50d73b9849e73 --- helpcompiler/inc/HelpCompiler.hxx | 3 ++- helpcompiler/source/HelpCompiler.cxx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/helpcompiler/inc/HelpCompiler.hxx b/helpcompiler/inc/HelpCompiler.hxx index 4dc13b4d0973..206130ed6081 100644 --- a/helpcompiler/inc/HelpCompiler.hxx +++ b/helpcompiler/inc/HelpCompiler.hxx @@ -48,6 +48,7 @@ #include #include +#include #include #if OSL_DEBUG_LEVEL > 2 @@ -237,7 +238,7 @@ public: const std::string &in_module, const std::string &in_lang, bool in_bExtensionMode); - bool compile( void ) throw (HelpProcessingException); + bool compile() throw (HelpProcessingException, BasicCodeTagger::TaggerException); void addEntryToJarFile(const std::string &prefix, const std::string &entryName, const std::string &bytesToAdd); void addEntryToJarFile(const std::string &prefix, diff --git a/helpcompiler/source/HelpCompiler.cxx b/helpcompiler/source/HelpCompiler.cxx index 8c5a579e5a92..a43864f36603 100644 --- a/helpcompiler/source/HelpCompiler.cxx +++ b/helpcompiler/source/HelpCompiler.cxx @@ -415,7 +415,8 @@ void myparser::traverse( xmlNodePtr parentNode ) } } -bool HelpCompiler::compile( void ) throw( HelpProcessingException ) +bool HelpCompiler::compile() + throw (HelpProcessingException, BasicCodeTagger::TaggerException) { // we now have the jaroutputstream, which will contain the document. // now determine the document as a dom tree in variable docResolved -- cgit