X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathLefteqn.cpp;h=176c7431cf5f53edc6ec079087d5690a5652ed5e;hb=02e82157ec583c3900e359de86be79fac6512387;hp=dc64e6f7df86da294933c4a868baa85e3a4432f5;hpb=237c132c1e6fc720b87f2fea6deb18a8395cbe0a;p=lyx.git diff --git a/src/mathed/InsetMathLefteqn.cpp b/src/mathed/InsetMathLefteqn.cpp index dc64e6f7df..176c7431cf 100644 --- a/src/mathed/InsetMathLefteqn.cpp +++ b/src/mathed/InsetMathLefteqn.cpp @@ -3,7 +3,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author André Pönitz + * \author André Pönitz * * Full author contact details are available in file CREDITS. */ @@ -11,14 +11,14 @@ #include #include "InsetMathLefteqn.h" -#include "MathData.h" -#include "support/std_ostream.h" + +#include "support/docstream.h" namespace lyx { -InsetMathLefteqn::InsetMathLefteqn() - : InsetMathNest(1) +InsetMathLefteqn::InsetMathLefteqn(Buffer * buf) + : InsetMathNest(buf, 1) {} @@ -34,8 +34,7 @@ void InsetMathLefteqn::metrics(MetricsInfo & mi, Dimension & dim) const dim.asc += 2; dim.des += 2; dim.wid = 4; - metricsMarkers(dim); - dim_ = dim; + metricsMarkers(mi, dim); }