X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathEnsureMath.cpp;h=7f82345efd8627299f8a6ccf2e36a74ac0437b97;hb=d9082639080b9de993742bd352f92e5183058cf5;hp=3669b09ba3690f0267e8179eac1c8c45c740fcd7;hpb=ecafea8227d0c51f36dbf8ff45e9c3ebc15e19cf;p=lyx.git diff --git a/src/mathed/InsetMathEnsureMath.cpp b/src/mathed/InsetMathEnsureMath.cpp index 3669b09ba3..7f82345efd 100644 --- a/src/mathed/InsetMathEnsureMath.cpp +++ b/src/mathed/InsetMathEnsureMath.cpp @@ -26,7 +26,7 @@ namespace lyx { InsetMathEnsureMath::InsetMathEnsureMath(Buffer * buf) - : InsetMathNest(buf, 1) + : InsetMathGrid(buf, 1, 1) {} @@ -62,7 +62,7 @@ void InsetMathEnsureMath::drawT(TextPainter & pain, int x, int y) const } -void InsetMathEnsureMath::write(WriteStream & os) const +void InsetMathEnsureMath::write(TeXMathStream & os) const { ModeSpecifier specifier(os, MATH_MODE); os << "\\ensuremath{" << cell(0) << "}";