]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_symbolinset.C
revert Buffer LyxText->InsetText commit
[lyx.git] / src / mathed / math_symbolinset.C
index 6657899b3f06c6fd5aaff51b3715bf9c9150a6f6..8a4359cff5fc60abd1bcd79ef12b7c7717271ac3 100644 (file)
@@ -91,6 +91,8 @@ void MathSymbolInset::metrics(MetricsInfo & mi, Dimension & dim) const
        if (mi.base.style == LM_ST_DISPLAY)
                if (sym_->inset == "cmex" || sym_->extra == "funclim")
                        scriptable_ = true;
+
+       width_ = dim.wid;
 }
 
 
@@ -182,13 +184,6 @@ char const * MathMLtype(string const & s)
 }
 
 
-bool MathSymbolInset::match(MathAtom const & at) const
-{
-       MathSymbolInset const * q = at->asSymbolInset();
-       return q && name() == q->name();
-}
-
-
 void MathSymbolInset::mathmlize(MathMLStream & os) const
 {
        char const * type = MathMLtype(sym_->extra);