]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetERT.cpp
* src/insets/InsetInclude.cpp: formatting (in response to r18445)
[lyx.git] / src / insets / InsetERT.cpp
index 781828869d18666ac4747f72d362c03eeed13725..fbe18a8c2e4670fb6c285a86ac82ec6238108c65 100644 (file)
@@ -26,7 +26,7 @@
 #include "Color.h"
 #include "LyXAction.h"
 #include "Lexer.h"
-#include "LyXTextClass.h"
+#include "TextClass.h"
 #include "MetricsInfo.h"
 #include "ParagraphParameters.h"
 #include "Paragraph.h"
@@ -203,7 +203,7 @@ void InsetERT::doDispatch(Cursor & cur, FuncRequest & cmd)
        switch (cmd.action) {
 
        case LFUN_QUOTE_INSERT: {
-               // We need to bypass the fancy quotes in LyXText
+               // We need to bypass the fancy quotes in Text
                FuncRequest f(LFUN_SELF_INSERT, "\"");
                dispatch(cur, f);
                break;
@@ -225,7 +225,7 @@ void InsetERT::doDispatch(Cursor & cur, FuncRequest & cmd)
 
                BufferParams const & bp = cur.buffer().params();
                Layout_ptr const layout =
-                       bp.getLyXTextClass().defaultLayout();
+                       bp.getTextClass().defaultLayout();
                Font font = layout->font;
                // ERT contents has always latex_language
                font.setLanguage(latex_language);