]> git.lyx.org Git - lyx.git/commitdiff
Use a const ref here. Guess it was a thinko when I did it.
authorRichard Heck <rgheck@lyx.org>
Tue, 12 Aug 2014 16:32:01 +0000 (12:32 -0400)
committerRichard Heck <rgheck@lyx.org>
Tue, 12 Aug 2014 16:32:58 +0000 (12:32 -0400)
src/output_latex.cpp

index f04f0054bcf267c086b3ca6cd2bb029a4c0d8c1e..c7bac75e7ae345bebc0f9a9de70719dbd81f488e 100644 (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)