Bernhard Roider wrote:
Hello,

Changeset 17470 (http://www.lyx.org/trac/changeset/17470) removed the default constructor from class OutputParams but it is needed by the local variable runparams in the method InsetMathMBox::write(..)

i did the attached to make it compile. haven't seen any regressions

Index: InsetMathMBox.C
===================================================================
--- InsetMathMBox.C     (revision 17475)
+++ InsetMathMBox.C     (working copy)
@@ -79,7 +79,7 @@
        if (ws.latex()) {
                ws << "\\mbox{\n";
                TexRow texrow;
-               OutputParams runparams;
+               OutputParams runparams(0);
                latexParagraphs(buf, text_.paragraphs(), ws.os(), texrow, 
runparams);
                ws.addlines(texrow.rows());
                ws << "}";

Reply via email to