]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathComment.cpp
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / InsetMathComment.cpp
index 4648ba1f17bcf6795ffe71e1600e4dd33e776ac4..5bf046d08e87e229ab2a711024a056540d82ff04 100644 (file)
 #include <config.h>
 
 #include "InsetMathComment.h"
+
 #include "MathData.h"
 #include "MathStream.h"
 #include "MathSupport.h"
-#include "support/std_ostream.h"
+
+#include <ostream>
 
 
 namespace lyx {
@@ -42,8 +44,6 @@ void InsetMathComment::metrics(MetricsInfo & mi, Dimension & dim) const
 {
        cell(0).metrics(mi, dim);
        metricsMarkers(dim);
-       // Cache the inset dimension. 
-       setDimCache(mi, dim);
 }