+ ret_clf = readFile(tmpFile);
+ if (ret_clf == ReadSuccess) {
+ d->file_format = file_format;
+ d->need_format_backup = true;
+ return ret_clf;
+ }
+ }
+ if (ret_clf != ReadSuccess) {
+ int const ret = Alert::prompt(_("Document format failure"),
+ _("Fileformat unrecognized by lyx2lyx. Trying to load anyway, "
+ "but some contents might be lost and LyX might crash!\n"
+ "Would you like to proceed ?"), 0, 1, _("&No"), _("&Yes"));
+ if (ret == 0)
+ return ret_clf;