]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDecoration.cpp
simplify GuiToc / TocWidget interaction. Much can still be simplified...
[lyx.git] / src / mathed / InsetMathDecoration.cpp
index 1dc8a1471bc18784256ddea93cb333d3ad5f2efe..3878da7f8c09d668acdef684404b3c03bee77981 100644 (file)
 #include <config.h>
 
 #include "InsetMathDecoration.h"
+
 #include "MathData.h"
 #include "MathParser.h"
 #include "MathSupport.h"
 #include "MathStream.h"
+#include "MetricsInfo.h"
 
 #include "LaTeXFeatures.h"
-#include "debug.h"
+#include "support/debug.h"
 
-#include "support/std_ostream.h"
+#include <ostream>
 
 
 namespace lyx {
@@ -29,7 +31,7 @@ namespace lyx {
 InsetMathDecoration::InsetMathDecoration(latexkeys const * key)
        : InsetMathNest(1), key_(key)
 {
-//     lyxerr << " creating deco " << key->name << std::endl;
+//     lyxerr << " creating deco " << key->name << endl;
 }
 
 
@@ -117,8 +119,6 @@ void InsetMathDecoration::metrics(MetricsInfo & mi, Dimension & dim) const
        }
 
        metricsMarkers(dim);
-       // Cache the inset dimension. 
-       setDimCache(mi, dim);
 }