summaryrefslogtreecommitdiff
path: root/helpcompiler/source/HelpCompiler.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-15 15:44:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-16 08:17:34 +0200
commitce3441c2d5b6267c437b7af362fc8d29e38c1dd4 (patch)
tree75a704ec8625919f06c6106a1a321db989a4874e /helpcompiler/source/HelpCompiler.cxx
parent1b9f6808531207d0280bc80374ef75551e3fb732 (diff)
convert HelpProcessingErrorClass to scoped enum
and drop unused HELPPROCESSING_INTERNAL_ERROR enumerator Change-Id: I0f2cf063a3f1472e1d52bab5039b1c3158d4865e
Diffstat (limited to 'helpcompiler/source/HelpCompiler.cxx')
-rw-r--r--helpcompiler/source/HelpCompiler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpcompiler/source/HelpCompiler.cxx b/helpcompiler/source/HelpCompiler.cxx
index 0eb89533382b..e456f5acd5b5 100644
--- a/helpcompiler/source/HelpCompiler.cxx
+++ b/helpcompiler/source/HelpCompiler.cxx
@@ -449,7 +449,7 @@ bool HelpCompiler::compile()
{
std::stringstream aStrStream;
aStrStream << "ERROR: file not existing: " << inputFile.native_file_string().c_str() << std::endl;
- throw HelpProcessingException( HELPPROCESSING_GENERAL_ERROR, aStrStream.str() );
+ throw HelpProcessingException( HelpProcessingErrorClass::General, aStrStream.str() );
}
}