]> git.lyx.org Git - lyx.git/blobdiff - src/importer.C
Rename namespace Alert to lyx::frontend::Alert.
[lyx.git] / src / importer.C
index d363a74ebe725c06229659f224397f7180e3bfed..6d4801249a00754d9f1bc6d111d6093c459debc6 100644 (file)
 #include "funcrequest.h"
 #include "lyx_cb.h"
 
-#include "bufferlist.h"
 #include "support/filetools.h"
+
 #include "frontends/Alert.h"
+
 #include "gettext.h"
 #include "BufferView.h"
 #include "buffer_funcs.h"
@@ -36,9 +37,6 @@ using std::string;
 using std::vector;
 
 
-extern BufferList bufferlist;
-
-
 bool Importer::Import(LyXView * lv, string const & filename,
                      string const & format, ErrorList & errorList)
 {
@@ -61,7 +59,7 @@ bool Importer::Import(LyXView * lv, string const & filename,
                        }
                }
                if (loader_format.empty()) {
-                       Alert::error(_("Couldn't import file"),
+                       lyx::frontend::Alert::error(_("Couldn't import file"),
                                     bformat(_("No information for importing the format %1$s."),
                                         formats.prettyName(format)));
                        return false;