]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFontOld.cpp
Fix bug 5802 (http://bugzilla.lyx.org/show_bug.cgi?id=5802)
[lyx.git] / src / mathed / InsetMathFontOld.cpp
index 8b8cf64ead9042415047b52ec715a84d5af1834d..6b132cfc2706c1055c8c6d3834633861e5d12fc0 100644 (file)
@@ -3,7 +3,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
 #include <config.h>
 
 #include "InsetMathFontOld.h"
+
 #include "MathData.h"
 #include "MathStream.h"
 #include "MathParser.h"
-#include "MathStream.h"
-#include "support/std_ostream.h"
+#include "MetricsInfo.h"
+
+#include <ostream>
 
 
 namespace lyx {
@@ -38,7 +40,6 @@ void InsetMathFontOld::metrics(MetricsInfo & mi, Dimension & dim) const
        FontSetChanger dummy(mi.base, key_->name.c_str());
        cell(0).metrics(mi, dim);
        metricsMarkers(dim);
-       dim_ = dim;
 }