X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathHull.cpp;h=6b9d8d3cce01e5e8a1c9b0ff52208e315307cbb8;hb=a746aa52146257c0e7a2d60123f63dccad5b2751;hp=a26f7556b36d61eec59e069a1799e1245bea4032;hpb=32871c1284f15265f652ff01c438e539a7c8181f;p=lyx.git diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index a26f7556b3..6b9d8d3cce 100644 --- a/src/mathed/InsetMathHull.cpp +++ b/src/mathed/InsetMathHull.cpp @@ -26,7 +26,7 @@ #include "InsetMathRef.h" #include "bufferview_funcs.h" -#include "LyXText.h" +#include "Text.h" #include "Buffer.h" #include "BufferParams.h" @@ -162,7 +162,7 @@ InsetMathHull::InsetMathHull() //lyxerr << "sizeof InsetMath: " << sizeof(InsetMath) << endl; //lyxerr << "sizeof MetricsInfo: " << sizeof(MetricsInfo) << endl; //lyxerr << "sizeof InsetMathChar: " << sizeof(InsetMathChar) << endl; - //lyxerr << "sizeof LyXFont: " << sizeof(LyXFont) << endl; + //lyxerr << "sizeof Font: " << sizeof(Font) << endl; initMath(); setDefaults(); } @@ -1274,7 +1274,7 @@ void InsetMathHull::mutateToText() string str = os.str(); // insert this text - LyXText * lt = view_->cursor().innerText(); + Text * lt = view_->cursor().innerText(); string::const_iterator cit = str.begin(); string::const_iterator end = str.end(); for (; cit != end; ++cit) @@ -1304,7 +1304,7 @@ void InsetMathHull::handleFont(Cursor & cur, docstring const & arg, void InsetMathHull::handleFont2(Cursor & cur, docstring const & arg) { recordUndo(cur); - LyXFont font; + Font font; bool b; bv_funcs::string2font(to_utf8(arg), font, b); if (font.color() != Color::inherit) {