} else if (inscmd.getCmdName() == "BibTeX") {
inset = new InsetBibtex(inscmd.getContents(), inscmd.getOptions(), this);
} else if (inscmd.getCmdName() == "index") {
- inset = new InsetIndex(inscmd.getContents());
+ inset = new InsetIndex(inscmd.params());
} else if (inscmd.getCmdName() == "include") {
inset = new InsetInclude(inscmd.getContents(), this);
} else if (inscmd.getCmdName() == "label") {
|| inscmd.getCmdName() == "listoftables") {
inset = new InsetTOC(inscmd.params());
} else if (inscmd.getCmdName() == "printindex") {
- inset = new InsetPrintIndex(this);
+ inset = new InsetPrintIndex(inscmd.params());
} else if (inscmd.getCmdName() == "lyxparent") {
inset = new InsetParent(inscmd.getContents(), this);
}
inset = new InsetBibtex(inscmd.getContents(),
inscmd.getOptions(), this);
} else if (inscmd.getCmdName() == "index") {
- inset = new InsetIndex(inscmd.getContents());
+ inset = new InsetIndex(inscmd.params());
} else if (inscmd.getCmdName() == "include") {
inset = new InsetInclude(inscmd.getContents(), this);
} else if (inscmd.getCmdName() == "label") {
|| inscmd.getCmdName() == "listoftables") {
inset = new InsetTOC(inscmd.params());
} else if (inscmd.getCmdName() == "printindex") {
- inset = new InsetPrintIndex(this);
+ inset = new InsetPrintIndex(inscmd.params());
} else if (inscmd.getCmdName() == "lyxparent") {
inset = new InsetParent(inscmd.getContents(), this);
}