insettable = 0;
#endif
footnoteflag = LyXParagraph::NO_FOOTNOTE;
-
+ footnotekind = LyXParagraph::FOOTNOTE; // should not be needed
+
align = LYX_ALIGN_BLOCK;
/* table stuff -- begin*/
os << "\n\\begin_float "
<< string_footnotekinds[footnotekind]
<< " ";
- }
- else {
+ } else {
os << "\n\\end_float ";
}
}
os << "\n\\begin_deeper ";
++dth;
}
- }
- else {
+ } else {
while (depth < dth) {
os << "\n\\end_deeper ";
--dth;
}
os << '\n';
}
- }
- else {
+ } else {
// Dummy layout. This means that a footnote ended.
os << "\n\\end_float ";
footflag = LyXParagraph::NO_FOOTNOTE;
while (insettable) {
tmpinset = insettable;
insettable = insettable->next;
- if (tmpinset->inset)
+ if (tmpinset->inset) // DEL LINE
delete tmpinset->inset;
delete tmpinset;
if (insettable && insettable->next == insettable) {
// somehow this recursion appears occasionally
// but I can't find where. This bandaid
// helps but isn't the best fix. (ARRae)
- if (insettable->inset) {
+ if (insettable->inset) { // DEL LINE
delete insettable->inset;
}
delete insettable;
#endif
/* table stuff -- begin*/
- if (table)
+ if (table) // DEL LINE
delete table;
/* table stuff -- end*/
// ale970302
- if (bibkey)
+ if (bibkey) // DEL LINE
delete bibkey;
}
tmpi = tmpi->next;
}
if (tmpi) { // this should always be true
- if (tmpi->inset) // delete the inset if it exists
+ if (tmpi->inset) // delete the inset if it exists // DEL LINE
delete tmpi->inset;
if (tmpi == insettable)
insettable = tmpi->next;
for (InsetList::iterator it = insetlist.begin();
it != insetlist.end(); ++it) {
if ((*it).pos >= pos) {
- if (it2 != insetlist.end() || (*it).pos < (*it2).pos)
+ if (it2 == insetlist.end() || (*it).pos < (*it2).pos)
it2 = it;
}
}
{
if (!table) return;
lyxerr[Debug::LATEX] << "SimpleDocbookOneTablePar... " << this << endl;
- int column;
+ int column = 0;
LyXFont font1, font2;
char c;
Inset * inset;