]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathLefteqn.cpp
Get rid of Inset::setPosCache
[lyx.git] / src / mathed / InsetMathLefteqn.cpp
index 838ff25080f2861004a48e05c00a3d39a9f6e086..176c7431cf5f53edc6ec079087d5690a5652ed5e 100644 (file)
@@ -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);
 }