loplugin:flatten in helpcompiler
Change-Id: I5d6b83b6976c115426f186958b749e48c60ba8f6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91847 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
parent
523922ee9d
commit
4eb75e416e
@ -104,8 +104,9 @@ void IndexerPreProcessor::processDocument
|
||||
xmlFreeDoc(resCaption);
|
||||
}
|
||||
|
||||
if( m_xsltStylesheetPtrContent )
|
||||
{
|
||||
if( !m_xsltStylesheetPtrContent )
|
||||
return;
|
||||
|
||||
xmlDocPtr resContent = xsltApplyStylesheet( m_xsltStylesheetPtrContent, doc, nullptr );
|
||||
xmlNodePtr pResNodeContent = resContent->xmlChildrenNode;
|
||||
if( pResNodeContent )
|
||||
@ -120,7 +121,6 @@ void IndexerPreProcessor::processDocument
|
||||
}
|
||||
xmlFreeDoc(resContent);
|
||||
}
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
||||
@ -462,8 +462,9 @@ void HelpLinker::link()
|
||||
|
||||
helpKeyword.dump_DBHelp( keyWordFileName_DBHelp);
|
||||
|
||||
if( !bExtensionMode )
|
||||
{
|
||||
if( bExtensionMode )
|
||||
return;
|
||||
|
||||
// New index
|
||||
for (auto const& additionalFile : additionalFiles)
|
||||
{
|
||||
@ -482,7 +483,6 @@ void HelpLinker::link()
|
||||
fs::copy( fsAdditionalFileName, fsTargetName );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void HelpLinker::main( std::vector<std::string> &args,
|
||||
|
Loading…
x
Reference in New Issue
Block a user