]> git.lyx.org Git - lyx.git/blobdiff - src/importer.C
Remove unused font variable which caused a warning.
[lyx.git] / src / importer.C
index 58f1c87b28b421c3ff456cfa1122182967bd4ef6..21310d7e02bf406c7342ddeafd7e6cc304c946d4 100644 (file)
@@ -25,6 +25,7 @@
 #include "support/filetools.h"
 #include "lyx_gui_misc.h" //WriteAlert
 #include "gettext.h"
+#include "BufferView.h"
 
 using std::vector;
 using std::find;
@@ -77,7 +78,7 @@ bool Importer::Import(LyXView * lv, string const & filename,
                        : ChangeExtension(filename,
                                          formats.Extension(loader_format));
                InsertAsciiFile(lv->view(), filename2, as_paragraphs);
-               lv->getLyXFunc()->Dispatch(LFUN_MARK_OFF);
+               lv->getLyXFunc()->dispatch(LFUN_MARK_OFF);
        }
 
        // we are done