From b9fe1dd10b99386561872688e9a7affd4043b8c5 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Tue, 12 Aug 2014 12:32:01 -0400 Subject: [PATCH] Use a const ref here. Guess it was a thinko when I did it. --- src/output_latex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output_latex.cpp b/src/output_latex.cpp index f04f0054bc..c7bac75e7a 100644 --- a/src/output_latex.cpp +++ b/src/output_latex.cpp @@ -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) -- 2.39.2