]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFont.cpp
Coding style
[lyx.git] / src / mathed / InsetMathFont.cpp
index 81b54be10b966a893f6676e0a6dfd758e9beed0c..2d73d64710223259947fa958a33ade3e7043260c 100644 (file)
 #include <config.h>
 
 #include "InsetMathFont.h"
+
+#include "LaTeXFeatures.h"
 #include "MathData.h"
 #include "MathStream.h"
 #include "MathParser.h"
-#include "LaTeXFeatures.h"
-#include "support/std_ostream.h"
+#include "MetricsInfo.h"
+
+#include <ostream>
 
 
 namespace lyx {
@@ -46,8 +49,6 @@ void InsetMathFont::metrics(MetricsInfo & mi, Dimension & dim) const
        FontSetChanger dummy(mi.base, key_->name);
        cell(0).metrics(mi, dim);
        metricsMarkers(dim);
-       // Cache the inset dimension. 
-       setDimCache(mi, dim);
 }