]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBig.cpp
revert last patch. there's something wrong, possibly unrelated to this
[lyx.git] / src / mathed / InsetMathBig.cpp
index 117127e882ba2c303dfaa453d0b1e72dd3e2bef5..c547a7bb975ff554e4ec0232907cbd58d8d44522 100644 (file)
 #include <config.h>
 
 #include "InsetMathBig.h"
+
 #include "MathSupport.h"
 #include "MathStream.h"
-#include "MathStream.h"
+#include "MetricsInfo.h"
 
 #include "frontends/FontMetrics.h"
 
+#include "support/docstream.h"
 #include "support/lstrings.h"
 
 
@@ -67,8 +69,6 @@ void InsetMathBig::metrics(MetricsInfo & mi, Dimension & dim) const
        dim.wid = 6;
        dim.asc = int(h + f * h);
        dim.des = int(f * h);
-       // Cache the inset dimension. 
-       setDimCache(mi, dim);
 }