X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathLefteqn.cpp;h=176c7431cf5f53edc6ec079087d5690a5652ed5e;hb=02e82157ec583c3900e359de86be79fac6512387;hp=838ff25080f2861004a48e05c00a3d39a9f6e086;hpb=f1cba8ff64b369792fd49f5ddf90e8126ab476ac;p=lyx.git diff --git a/src/mathed/InsetMathLefteqn.cpp b/src/mathed/InsetMathLefteqn.cpp index 838ff25080..176c7431cf 100644 --- a/src/mathed/InsetMathLefteqn.cpp +++ b/src/mathed/InsetMathLefteqn.cpp @@ -17,8 +17,8 @@ namespace lyx { -InsetMathLefteqn::InsetMathLefteqn() - : InsetMathNest(1) +InsetMathLefteqn::InsetMathLefteqn(Buffer * buf) + : InsetMathNest(buf, 1) {} @@ -34,7 +34,7 @@ void InsetMathLefteqn::metrics(MetricsInfo & mi, Dimension & dim) const dim.asc += 2; dim.des += 2; dim.wid = 4; - metricsMarkers(dim); + metricsMarkers(mi, dim); }