X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathExFunc.cpp;h=e4e1f10c2e2b8daa099bcb490185c58828f1a798;hb=cdc847fd304019a19425a0d5d9d42a556a937097;hp=5b79f60fa3e677e0bb9a24f3074a71b0c07b2373;hpb=25f429d3e5984e53ea90718868a545dfe5df3180;p=lyx.git
diff --git a/src/mathed/InsetMathExFunc.cpp b/src/mathed/InsetMathExFunc.cpp
index 5b79f60fa3..e4e1f10c2e 100644
--- a/src/mathed/InsetMathExFunc.cpp
+++ b/src/mathed/InsetMathExFunc.cpp
@@ -44,7 +44,7 @@ Inset * InsetMathExFunc::clone() const
void InsetMathExFunc::metrics(MetricsInfo & mi, Dimension & dim) const
{
- mathed_string_dim(mi.base.font, name_, dim);
+ metricsStrRedBlack(mi, dim, name_);
}
@@ -124,7 +124,14 @@ void InsetMathExFunc::mathematica(MathematicaStream & os) const
void InsetMathExFunc::mathmlize(MathStream & os) const
{
- os.os() << "" << name_ << "" << "⁡" << cell(0);
+ os << "" << name_ << "⁡";
+ os << cell(0);
+}
+
+
+void InsetMathExFunc::htmlize(HtmlStream & os) const
+{
+ os << name_ << cell(0);
}