]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathMacroTable.C
make it compile again (hopefully)
[lyx.git] / src / mathed / MathMacroTable.C
index c22ce605cb370a11d3c365cb6cefea83b1486e93..daae5fc954543bfa5d764de37d503aba4e5d3288 100644 (file)
@@ -45,7 +45,8 @@ MacroData::MacroData(string const & def, int numargs, string const & disp)
 void MacroData::expand(vector<MathArray> const & args, MathArray & to) const
 {
        InsetMathSqrt inset; // Hack. Any inset with a cell would do.
-       asArray(disp_.empty() ? def_ : disp_, inset.cell(0));
+       // FIXME UNICODE
+       asArray(lyx::from_utf8(disp_.empty() ? def_ : disp_), inset.cell(0));
        //lyxerr << "MathData::expand: args: " << args << endl;
        //lyxerr << "MathData::expand: ar: " << inset.cell(0) << endl;
        for (DocIterator it = doc_iterator_begin(inset); it; it.forwardChar()) {