From cfe0fbb039e452ab75552e65474859573cb155fd Mon Sep 17 00:00:00 2001 From: David Tardon Date: Thu, 28 Feb 2013 11:12:53 +0100 Subject: do not create index for shared help module Change-Id: I83f9b99abcc952dfea924662a0db8d98efc56307 --- helpcompiler/source/HelpLinker.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'helpcompiler/source/HelpLinker.cxx') diff --git a/helpcompiler/source/HelpLinker.cxx b/helpcompiler/source/HelpLinker.cxx index 0bdde1848c68..15061f30384e 100644 --- a/helpcompiler/source/HelpLinker.cxx +++ b/helpcompiler/source/HelpLinker.cxx @@ -398,6 +398,9 @@ void HelpLinker::link() throw( HelpProcessingException ) throw HelpProcessingException( HELPPROCESSING_GENERAL_ERROR, aStrStream.str() ); } + if (!m_bCreateIndex) + continue; + std::string documentPath = streamTable.document_path; if (documentPath.find("/") == 0) documentPath = documentPath.substr(1); @@ -736,6 +739,8 @@ void HelpLinker::main( std::vector &args, } else if (args[i].compare("-nolangroot") == 0) m_bUseLangRoot = false; + else if (args[i].compare("-noindex") == 0) + m_bCreateIndex = false; else helpFiles.push_back(args[i]); ++i; -- cgit