]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathLefteqn.cpp
simplify GuiToc / TocWidget interaction. Much can still be simplified...
[lyx.git] / src / mathed / InsetMathLefteqn.cpp
index 358ecd3f0c2030cb5cafe8321625ea6b443639c9..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 {
@@ -35,8 +35,6 @@ void InsetMathLefteqn::metrics(MetricsInfo & mi, Dimension & dim) const
        dim.des += 2;
        dim.wid = 4;
        metricsMarkers(dim);
-       // Cache the inset dimension. 
-       setDimCache(mi, dim);
 }