]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDecoration.cpp
revert last patch. there's something wrong, possibly unrelated to this
[lyx.git] / src / mathed / InsetMathDecoration.cpp
index 1dc8a1471bc18784256ddea93cb333d3ad5f2efe..777fa75aca29b07b014cf601f5889e1a2db4c11a 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/std_ostream.h"
+#include "support/debug.h"
+
+#include <ostream>
 
 
 namespace lyx {
@@ -29,7 +32,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 +120,6 @@ void InsetMathDecoration::metrics(MetricsInfo & mi, Dimension & dim) const
        }
 
        metricsMarkers(dim);
-       // Cache the inset dimension. 
-       setDimCache(mi, dim);
 }