From 1757ef2a99844e7f5576adb92988b3b8636a1514 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. (cherry picked from commit b9fe1dd10b99386561872688e9a7affd4043b8c5) --- 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 3a8b0c2400..c71fc3244d 100644 --- a/src/output_latex.cpp +++ b/src/output_latex.cpp @@ -568,7 +568,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.5