summaryrefslogtreecommitdiff
path: root/helpcompiler
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-10 15:12:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-10 16:08:04 +0100
commit3cd26a85e3e30c4e75f8ec81a76c48bb16cef1ee (patch)
tree52f053e8bb46e93c7b36fc3ff2d5cba31ff17b89 /helpcompiler
parent668ed132188d30a73607129c95372d17fa90544d (diff)
coverity#983682 Uncaught exception
Change-Id: Ie5c7ce0ba499ce67365c5e2079a50d73b9849e73
Diffstat (limited to 'helpcompiler')
-rw-r--r--helpcompiler/inc/HelpCompiler.hxx3
-rw-r--r--helpcompiler/source/HelpCompiler.cxx3
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 <osl/process.h>
#include <osl/file.hxx>
+#include <BasCodeTagger.hxx>
#include <helpcompiler/compilehelp.hxx>
#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