]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSymbol.cpp
mathedSymbolDim only needs a MathBase
[lyx.git] / src / mathed / InsetMathSymbol.cpp
index 885aa60f01f911c57ebcd9f54f221d50b57d9987..92d2573560a4ad808141d0d999f7263ac77012ea 100644 (file)
@@ -61,7 +61,7 @@ docstring InsetMathSymbol::name() const
 void InsetMathSymbol::metrics(MetricsInfo & mi, Dimension & dim) const
 {
        // set dim
-       mathedSymbolDim(mi, dim, sym_);
+       mathedSymbolDim(mi.base, dim, sym_);
        // set kerning_
        kerning_ = mathed_char_kerning(mi.base.font, *sym_->draw.rbegin());
        // correct height for broken cmex and wasy font