coverity#983682 Uncaught exception

Change-Id: Ie5c7ce0ba499ce67365c5e2079a50d73b9849e73
This commit is contained in:
Caolán McNamara
2014-06-10 15:12:34 +01:00
parent 668ed13218
commit 3cd26a85e3
2 changed files with 4 additions and 2 deletions

View File

@@ -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,

View File

@@ -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