]> git.lyx.org Git - lyx.git/blobdiff - src/importer.C
More ascii-export fixes and when making copy of single tabular cells now the
[lyx.git] / src / importer.C
index 144b76200b3973887f12afd4bfbb5fa527e6e533..65c3ce185ce8af390fb736a275e53ea5a155d225 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "bufferlist.h"
 #include "support/filetools.h"
-#include "lyx_gui_misc.h" //WriteAlert
+#include "frontends/Alert.h"
 #include "gettext.h"
 #include "BufferView.h"
 
@@ -58,7 +58,7 @@ bool Importer::Import(LyXView * lv, string const & filename,
                        }
                }
                if (loader_format.empty()) {
-                       WriteAlert(_("Can not import file"),
+                       Alert::alert(_("Cannot import file"),
                                   _("No information for importing from ")
                                   + formats.prettyName(format));
                        return false;