]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathExFunc.C
make it compile again (hopefully)
[lyx.git] / src / mathed / InsetMathExFunc.C
index 6ee9479e50e8756984768af72a8bf26bb8cff395..4fd615de23a81bb60b603b7646a308ab077952e2 100644 (file)
@@ -41,13 +41,15 @@ auto_ptr<InsetBase> InsetMathExFunc::doClone() const
 
 void InsetMathExFunc::metrics(MetricsInfo & mi, Dimension & /*dim*/) const
 {
-       mathed_string_dim(mi.base.font, name_, dim_);
+       // FIXME UNICODE
+       mathed_string_dim(mi.base.font, lyx::from_utf8(name_), dim_);
 }
 
 
 void InsetMathExFunc::draw(PainterInfo & pi, int x, int y) const
 {
-       drawStrBlack(pi, x, y, name_);
+       // FIXME UNICODE
+       drawStrBlack(pi, x, y, lyx::from_utf8(name_));
 }