]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_charinset.C
bug + spped fixes + small stuff
[lyx.git] / src / mathed / math_charinset.C
index 50263400310b087d760266dbaa6187f7bc304832..8578aa81486d7eec75be2960c4da77436dd69d2b 100644 (file)
@@ -84,6 +84,7 @@ void MathCharInset::metrics(MetricsInfo & mi, Dimension & dim) const
                width_ += 2 * font_metrics::width(' ', font_);
        lyxerr << "MathCharInset::metrics: " << dim << endl;
 #endif
+       width_ = dim.wid;
 }
 
 
@@ -151,10 +152,3 @@ bool MathCharInset::isRelOp() const
 {
        return char_ == '=' || char_ == '<' || char_ == '>';
 }
-
-
-bool MathCharInset::match(MathInset const * p) const
-{
-       MathCharInset const * q = p->asCharInset();
-       return q && char_ == q->char_;
-}