]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathChar.cpp
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / InsetMathChar.cpp
index d985d5d69a9dfdc2356014402c57fab7570d331f..46083a439eebb75bce0fbaadab1b79a290641add 100644 (file)
 #include "MathStream.h"
 #include "MetricsInfo.h"
 
-#include "debug.h"
 #include "Dimension.h"
 #include "TextPainter.h"
 
-#include "support/lstrings.h"
-
 #include "frontends/FontMetrics.h"
 
+#include "support/debug.h"
+#include "support/lstrings.h"
+
 
 namespace lyx {
 
@@ -84,8 +84,6 @@ void InsetMathChar::metrics(MetricsInfo & mi, Dimension & dim) const
                dim.wid += 2 * theFontMetrics(font_).width(' ');
        lyxerr << "InsetMathChar::metrics: " << dim << endl;
 #endif
-       // Cache the inset dimension. 
-       setDimCache(mi, dim);
 }