summaryrefslogtreecommitdiff
path: root/helpcompiler
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-19 17:56:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-19 18:03:19 +0100
commitcbf61ee5652573f7c18065c477598edf1e14156b (patch)
tree9adbc47575f64c6b957140db9596cb6148a65fdf /helpcompiler
parent0e22ddad37cf2529b3ab7edf8862d14e85dad53f (diff)
New loplugin:dynexcspec: Add @throws documentation, helpcompiler
Change-Id: Id2ebe51d610ecd372ee215f3a38a979a322e6e10
Diffstat (limited to 'helpcompiler')
-rw-r--r--helpcompiler/inc/HelpCompiler.hxx2
-rw-r--r--helpcompiler/inc/HelpLinker.hxx3
2 files changed, 5 insertions, 0 deletions
diff --git a/helpcompiler/inc/HelpCompiler.hxx b/helpcompiler/inc/HelpCompiler.hxx
index 25a2c3b76ce6..c0acdebff90b 100644
--- a/helpcompiler/inc/HelpCompiler.hxx
+++ b/helpcompiler/inc/HelpCompiler.hxx
@@ -218,6 +218,8 @@ public:
const std::string &in_module,
const std::string &in_lang,
bool in_bExtensionMode);
+ /// @throws HelpProcessingException
+ /// @throws BasicCodeTagger::TaggerException
bool compile() throw (HelpProcessingException, BasicCodeTagger::TaggerException, std::exception);
private:
xmlDocPtr getSourceDocument(const fs::path &filePath);
diff --git a/helpcompiler/inc/HelpLinker.hxx b/helpcompiler/inc/HelpLinker.hxx
index 7fce510bb774..59e48834c651 100644
--- a/helpcompiler/inc/HelpLinker.hxx
+++ b/helpcompiler/inc/HelpLinker.hxx
@@ -47,6 +47,7 @@ public:
class L10N_DLLPUBLIC HelpLinker
{
public:
+ /// @throws HelpProcessingException
void main(std::vector<std::string> &args,
std::string* pExtensionPath = nullptr,
std::string* pDestination = nullptr,
@@ -85,6 +86,8 @@ private:
bool m_bUseLangRoot;
bool m_bCreateIndex;
void initIndexerPreProcessor();
+ /// @throws HelpProcessingException
+ /// @throws BasicCodeTagger::TaggerException
void link() throw(HelpProcessingException, BasicCodeTagger::TaggerException, std::exception);
static void addBookmark( FILE* pFile_DBHelp, std::string thishid,
const std::string& fileB, const std::string& anchorB,