mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-30 05:12:40 +00:00
Remove pointless variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38431 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d83e002201
commit
1cdd1dc0c0
@ -925,7 +925,6 @@ void xhtmlParagraphs(Text const & text,
|
|||||||
ParagraphList::const_iterator par = paragraphs.begin();
|
ParagraphList::const_iterator par = paragraphs.begin();
|
||||||
ParagraphList::const_iterator pend = paragraphs.end();
|
ParagraphList::const_iterator pend = paragraphs.end();
|
||||||
|
|
||||||
OutputParams ourparams = runparams;
|
|
||||||
while (par != pend) {
|
while (par != pend) {
|
||||||
if (par->params().startOfAppendix()) {
|
if (par->params().startOfAppendix()) {
|
||||||
// FIXME: only the counter corresponding to toplevel
|
// FIXME: only the counter corresponding to toplevel
|
||||||
@ -943,13 +942,13 @@ void xhtmlParagraphs(Text const & text,
|
|||||||
// The files with which we are working never have more than
|
// The files with which we are working never have more than
|
||||||
// one paragraph in a command structure.
|
// one paragraph in a command structure.
|
||||||
// FIXME
|
// FIXME
|
||||||
// if (ourparams.html_in_par)
|
// if (runparams.html_in_par)
|
||||||
// fix it so we don't get sections inside standard, e.g.
|
// fix it so we don't get sections inside standard, e.g.
|
||||||
// note that we may then need to make runparams not const, so we
|
// note that we may then need to make runparams not const, so we
|
||||||
// can communicate that back.
|
// can communicate that back.
|
||||||
// FIXME Maybe this fix should be in the routines themselves, in case
|
// FIXME Maybe this fix should be in the routines themselves, in case
|
||||||
// they are called from elsewhere.
|
// they are called from elsewhere.
|
||||||
makeCommand(buf, xs, ourparams, text, par);
|
makeCommand(buf, xs, runparams, text, par);
|
||||||
++par;
|
++par;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -958,18 +957,18 @@ void xhtmlParagraphs(Text const & text,
|
|||||||
case LATEX_ITEM_ENVIRONMENT: {
|
case LATEX_ITEM_ENVIRONMENT: {
|
||||||
// FIXME Same fix here.
|
// FIXME Same fix here.
|
||||||
send = searchEnvironmentHtml(par, pend);
|
send = searchEnvironmentHtml(par, pend);
|
||||||
par = makeEnvironmentHtml(buf, xs, ourparams, text, par, send);
|
par = makeEnvironmentHtml(buf, xs, runparams, text, par, send);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case LATEX_BIB_ENVIRONMENT: {
|
case LATEX_BIB_ENVIRONMENT: {
|
||||||
// FIXME Same fix here.
|
// FIXME Same fix here.
|
||||||
send = searchEnvironmentHtml(par, pend);
|
send = searchEnvironmentHtml(par, pend);
|
||||||
par = makeBibliography(buf, xs, ourparams, text, par, send);
|
par = makeBibliography(buf, xs, runparams, text, par, send);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case LATEX_PARAGRAPH:
|
case LATEX_PARAGRAPH:
|
||||||
send = searchParagraphHtml(par, pend);
|
send = searchParagraphHtml(par, pend);
|
||||||
par = makeParagraphs(buf, xs, ourparams, text, par, send);
|
par = makeParagraphs(buf, xs, runparams, text, par, send);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// FIXME??
|
// FIXME??
|
||||||
|
Loading…
Reference in New Issue
Block a user