Use a const ref here. Guess it was a thinko when I did it.

This commit is contained in:
Richard Heck 2014-08-12 12:32:01 -04:00
parent 49efd1933a
commit b9fe1dd10b

View File

@ -554,7 +554,7 @@ void TeXOnePar(Buffer const & buf,
Paragraph const & par = paragraphs.at(pit);
// FIXME This check should not really be needed.
// Perhaps we should issue an error if it is.
Layout const style = text.inset().forcePlainLayout() ?
Layout const & style = text.inset().forcePlainLayout() ?
bparams.documentClass().plainLayout() : par.layout();
if (style.inpreamble)