]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathLefteqn.cpp
* src/mathed/InsetMathHull.cpp:
[lyx.git] / src / mathed / InsetMathLefteqn.cpp
index 44e4412b81c50e195fb624f3ca4ff79f497d1fb6..f66c815179365d9e443ec006f2a170be00e5e573 100644 (file)
@@ -11,8 +11,8 @@
 #include <config.h>
 
 #include "InsetMathLefteqn.h"
-#include "MathData.h"
-#include "support/std_ostream.h"
+
+#include "support/docstream.h"
 
 
 namespace lyx {
@@ -28,17 +28,13 @@ Inset * InsetMathLefteqn::clone() const
 }
 
 
-bool InsetMathLefteqn::metrics(MetricsInfo & mi, Dimension & dim) const
+void InsetMathLefteqn::metrics(MetricsInfo & mi, Dimension & dim) const
 {
        cell(0).metrics(mi, dim);
        dim.asc += 2;
        dim.des += 2;
        dim.wid = 4;
        metricsMarkers(dim);
-       if (dim_ == dim)
-               return false;
-       dim_ = dim;
-       return true;
 }