X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathBrace.cpp;h=c1034c9aeeb1f662e48478c7b8fb7e25493b6d2e;hb=ff4460603e3888948b46f0ab5bfa69a862d538ad;hp=d2d2e3fc162f0badeb9275fdc3c8dabb0e031eaf;hpb=60ca549de3fbfdae36f34293228872868da33837;p=lyx.git diff --git a/src/mathed/InsetMathBrace.cpp b/src/mathed/InsetMathBrace.cpp index d2d2e3fc16..c1034c9aee 100644 --- a/src/mathed/InsetMathBrace.cpp +++ b/src/mathed/InsetMathBrace.cpp @@ -26,13 +26,13 @@ using namespace std; namespace lyx { -InsetMathBrace::InsetMathBrace() - : InsetMathNest(1) +InsetMathBrace::InsetMathBrace(Buffer * buf) + : InsetMathNest(buf, 1) {} InsetMathBrace::InsetMathBrace(MathData const & ar) - : InsetMathNest(1) + : InsetMathNest(const_cast(ar.buffer()), 1) { cell(0) = ar; }