mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Use a const ref here. Guess it was a thinko when I did it.
This commit is contained in:
parent
49efd1933a
commit
b9fe1dd10b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user