]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_commentinset.C
the DocIterator stuff
[lyx.git] / src / mathed / math_commentinset.C
index cfe0262eb88ec2d079caaf558cedd5d6ee974d2f..232710c83ccd67d2b5ed7b2ce1a8921368df02e2 100644 (file)
 #include <config.h>
 
 #include "math_commentinset.h"
-#include "math_support.h"
+#include "math_data.h"
 #include "math_mathmlstream.h"
-#include "support/LOstream.h"
+#include "math_support.h"
+#include "support/std_ostream.h"
 
+using std::string;
 using std::auto_ptr;
 
 
@@ -39,7 +41,7 @@ auto_ptr<InsetBase> MathCommentInset::clone() const
 void MathCommentInset::metrics(MetricsInfo & mi, Dimension & dim) const
 {
        cell(0).metrics(mi);
-       metricsMarkers();
+       metricsMarkers(dim_);
        dim = dim_;
 }