]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathFactory.cpp
Small improvement for bug #7509 as suggested by JMarc
[lyx.git] / src / mathed / MathFactory.cpp
index ab290cb369bd2733b798ffba230152a308131170..f8b9185028a3b644d493da25fd927c2ee482604c 100644 (file)
@@ -528,8 +528,9 @@ bool createInsetMath_fromDialogStr(docstring const & str, MathData & ar)
                InsetSpaceParams isp(true);
                InsetSpace::string2params(to_utf8(str), isp);
                InsetSpace is(isp);
+               TexRow texrow;
                odocstringstream ods;
-               otexstream os(ods);
+               otexstream os(ods, texrow);
                Encoding const * const ascii = encodings.fromLyXName("ascii");
                OutputParams op(ascii);
                is.latex(os, op);