mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Amend 2d56c01dcf
This commit is contained in:
parent
2d56c01dcf
commit
24cda9e94a
@ -1855,7 +1855,8 @@ docstring InsetPrintIndex::xhtml(XMLStream &, OutputParams const & op) const
|
||||
|
||||
// Collect the index entries in a form we can use them.
|
||||
vector<IndexEntry> entries;
|
||||
const docstring & indexType = params().getParamOr("type", from_ascii("idx"));
|
||||
const docstring defaultIndexType = from_ascii("idx");
|
||||
const docstring & indexType = params().getParamOr("type", defaultIndexType);
|
||||
for (const TocItem& item : *toc) {
|
||||
const auto* inset = static_cast<const InsetIndex*>(&(item.dit().inset()));
|
||||
if (item.isOutput() && inset && inset->params().index == indexType)
|
||||
|
Loading…
Reference in New Issue
Block a user