]> git.lyx.org Git - lyx.git/blobdiff - src/importer.C
minimal effort implementation of:
[lyx.git] / src / importer.C
index b4e135cc8b60c94f991e799bbd52beedfd50c5ea..3f333515d7f33c39045f2bdd04bd4b92117f4adc 100644 (file)
@@ -39,7 +39,7 @@ extern BufferList bufferlist;
 
 
 bool Importer::Import(LyXView * lv, string const & filename,
-                     string const & format)
+                     string const & format, ErrorList & errorList)
 {
        string const displaypath = makeDisplayPath(filename);
        lv->message(bformat(_("Importing %1$s..."), displaypath));
@@ -53,7 +53,7 @@ bool Importer::Import(LyXView * lv, string const & filename,
                     it != loaders.end(); ++it) {
                        if (converters.isReachable(format, *it)) {
                                if (!converters.convert(0, filename, filename,
-                                                       format, *it))
+                                                       format, *it, errorList))
                                        return false;
                                loader_format = *it;
                                break;