#include "importer.h"
#include "converter.h"
#include "frontends/LyXView.h"
-#include "lyxfunc.h"
+#include "funcrequest.h"
#include "bufferlist.h"
#include "support/filetools.h"
string const displaypath = MakeDisplayPath(filename);
ostringstream s1;
s1 << _("Importing") << ' ' << displaypath << "...";
- lv->message(s1.str().c_str());
+ lv->message(STRCONV(s1.str()));
string const lyxfile = ChangeExtension(filename, ".lyx");
: ChangeExtension(filename,
formats.extension(loader_format));
InsertAsciiFile(lv->view().get(), filename2, as_paragraphs);
- lv->getLyXFunc().dispatch(LFUN_MARK_OFF);
+ lv->dispatch(FuncRequest(LFUN_MARK_OFF));
}
// we are done