diff options
-rw-r--r-- | helpcompiler/source/HelpLinker.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/helpcompiler/source/HelpLinker.cxx b/helpcompiler/source/HelpLinker.cxx index 1f71635e174e..c2f77ec9374a 100644 --- a/helpcompiler/source/HelpLinker.cxx +++ b/helpcompiler/source/HelpLinker.cxx @@ -861,11 +861,8 @@ void HelpLinker::main( std::vector<std::string> &args, // Variable to set an exception in "C" StructuredXMLErrorFunction static const HelpProcessingException* GpXMLParsingException = nullptr; -extern "C" void StructuredXMLErrorFunction(void *userData, xmlErrorPtr error) +extern "C" void StructuredXMLErrorFunction(SAL_UNUSED_PARAMETER void *, xmlErrorPtr error) { - (void)userData; - (void)error; - std::string aErrorMsg = error->message; std::string aXMLParsingFile; if( error->file != nullptr ) |