InsetList::const_iterator it = par.insetlist.begin();
InsetList::const_iterator end = par.insetlist.end();
for (; it != end; ++it) {
- InsetOld * ins = it->inset;
- if (ins->lyxCode() == InsetOld::OPTARG_CODE) {
+ InsetBase * ins = it->inset;
+ if (ins->lyxCode() == InsetBase::OPTARG_CODE) {
return static_cast<InsetOptArg *>(ins);
}
}
texrow.newline();
}
- if (pit->params().spaceTop().kind() != VSpace::NONE) {
- os << pit->params().spaceTop().asLatexCommand(bparams);
- further_blank_line = true;
- }
-
if (further_blank_line) {
os << '\n';
texrow.newline();
if (in == 0 || !in->forceDefaultParagraphs(in)) {
further_blank_line = false;
- if (pit->params().spaceBottom().kind() != VSpace::NONE) {
- os << pit->params().spaceBottom().asLatexCommand(bparams);
- further_blank_line = true;
- }
-
if (further_blank_line) {
os << '\n';
texrow.newline();
return ++pit;
}
-} //anon namespace
+} // anon namespace
//
// LaTeX all paragraphs from par to endpar, if endpar == 0 then to the end